diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-08-18 16:44:27 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-08-18 16:44:27 +0200 |
| commit | 34339ecae6c4d3284a099d34f09674b4c8bdfd62 (patch) | |
| tree | b6f1db84f34e05b2b60541895e6a5b268889aba6 /LICENSE.LESSER | |
| parent | 6cb4215f55876a7fffb1fd33f2bd061283d2389f (diff) | |
| download | tools.nes-34339ecae6c4d3284a099d34f09674b4c8bdfd62.tar.gz tools.nes-34339ecae6c4d3284a099d34f09674b4c8bdfd62.zip | |
Do not mark some valid identifiers as invalid
Some identifiers like "@aa" were marked as invalid as "aa" is a
potentially hexadecimal value, but the "@" symbol actually disambiguates
this situation. Hence, if a non-alphanumeric character (that the parser
liked) is actually found, ensure it cannot be considered as an
hexadecimal value.
Provide also a test of is_valid_identifier(). The list is certainly not
exhaustive, but it should be good enough coupled with end-to-end tests.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'LICENSE.LESSER')
0 files changed, 0 insertions, 0 deletions
