]> git.sur5r.net Git - cc65/commitdiff
Merge pull request #358 from EtchedPixels/master
authorgreg-king5 <greg.king5@verizon.net>
Sat, 26 Nov 2016 22:30:38 +0000 (17:30 -0500)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2016 22:30:38 +0000 (17:30 -0500)
* scanner: Correct handling of \0101

The C language has this oddity that octal constants are 3 bytes so the sequence
"\0101" is two bytes and well defined by the langage. cc65 currently misparses
this as a 1 byte octal code. Add a count to fix this.

Signed-off-by: Alan Cox <etchedpixels@gmail.com>
* cc65: remove un-needed logic from octal parsing

We no longer need the extra error handling logic for octal parsing so simplify
it as requested by Greg King.

Signed-off-by: Alan Cox <etchedpixels@gmail.com>

Trivial merge