diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-13 14:24:55 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-13 14:28:10 +0100 |
| commit | 5f07c9840ecaebd07b9685dc55539166a697eb6e (patch) | |
| tree | b83ccdcde54a64522a9ef231e9ffa147009961ab /.github/workflows | |
| parent | ac8c477cf69a33bc3640437fd0287b53ca31b111 (diff) | |
| download | tools.nes-5f07c9840ecaebd07b9685dc55539166a697eb6e.tar.gz tools.nes-5f07c9840ecaebd07b9685dc55539166a697eb6e.zip | |
parser: Fix crash on non-ASCII char literals
If the given char literal was not an ASCII one, there was the chance for
the character iterator to mess things up. Hence, when checking the
closing single quote, it might encounter a None value.
This is simply mitigated my moving the check of ASCII alphanumeric
before checking for the closing quote.
Fixes: b1623996c76f ("Add support for character literals")
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions
