X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCC.lex;h=e0038cc65202abf5aa30a0557481a7cfa8a14573;hb=55cda8264b973a7fa1c5fb5d88069901405e2292;hp=1fc106256dbb66462bd6458ebb4f3b35ff4bc606;hpb=35ae84eba60b5aa2bd3803b9425259bb19057cd1;p=fw%2Fsdcc diff --git a/src/SDCC.lex b/src/SDCC.lex index 1fc10625..e0038cc6 100644 --- a/src/SDCC.lex +++ b/src/SDCC.lex @@ -1,6 +1,6 @@ /*----------------------------------------------------------------------- - SDCC.lex - lexical analyser for use with sdcc ( a freeware compiler for - 8/16 bit microcontrollers) + SDCC.lex - lexical analyser for use with sdcc (free open source + compiler for 8/16 bit microcontrollers) Written by : Sandeep Dutta . sandeep.dutta@usa.net (1997) This program is free software; you can redistribute it and/or modify it @@ -501,8 +501,10 @@ static const char *stringLiteral(void) dbuf_destroy(&linebuf); } else - unput(ch); - break; + { + unput(ch); + goto out; + } default: count_char(ch);