diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -448,9 +448,16 @@ Integer: if(peek == L'\''){ peek = Bgetrune(parsein); while(peek != L'\''){ +QuotedAtomLoop: buf[i++] = peek; peek = Bgetrune(parsein); } + peek = Bgetrune(parsein); + if(peek == L'\'') + goto QuotedAtomLoop; + else + Bungetrune(parsein); + buf[i] = '\0'; lookahead.tag = AtomTok; lookahead.text = runestrdup(buf); |