diff --git a/lexer.c b/lexer.c index d39a0e5..10a0091 100644 --- a/lexer.c +++ b/lexer.c @@ -1110,7 +1110,7 @@ int lex_do(lex_file *lex) nextch = lex_getch(lex); if (nextch != '.') { lex_ungetch(lex, nextch); - lex_ungetch(lex, nextch); + lex_ungetch(lex, '.'); lex_endtoken(lex); return (lex->tok.ttype = ch); }