]> git.sur5r.net Git - cc65/commit
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)
commitf4c51046f09adc4c37cca24698e2dc47fb6aafc6
tree988d1ec9f1f7b608519712e1e3e3333a38ff82bd
parent79e1b25c6c10f5a12b607d201bcddc3b1d98d999
parente4aee2ba340d32ab9042fc86070e0bd263a50ba1
Merge pull request #358 from EtchedPixels/master

* 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>