diff --git a/src/engine/scan.c b/src/engine/scan.c index e6c778e52..1e3ffca41 100644 --- a/src/engine/scan.c +++ b/src/engine/scan.c @@ -314,6 +314,10 @@ int yylex() else if ( ( c = yychar() ) != EOF ) { /* \c */ + if (c == 'n') + c = '\n'; + else if (c == 'r') + c = '\r'; *b++ = c; notkeyword = 1; }