Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register_alias in fandLexParse.py #1

Closed
yuyunlu opened this issue Apr 7, 2022 · 0 comments
Closed

register_alias in fandLexParse.py #1

yuyunlu opened this issue Apr 7, 2022 · 0 comments

Comments

@yuyunlu
Copy link

yuyunlu commented Apr 7, 2022

Hello AsteriskAmpersand,

Line 41 in fandLexParse.py:
register_alias = T_ALIAS + "\s+" + parens("$[A-T]")

So the alias of a RegisterVar is allowed to be from A to T in this case. If a FAND-file has "U" as alias of a RegisterVar, Lexer from python module SLY will report error when the FAND-file is being compiled. For example, the FAND-file decompiled from em013.thklst of Fatalis has "U" as an alias.

Best regards,
Yu-Yun

AsteriskAmpersand added a commit that referenced this issue Apr 16, 2022
Addresses Issue #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants