commit c86d164e89788d2e0c3509f3e3901ec1a4f5a815 from: Omar Polo date: Thu Jun 24 16:04:38 2021 UTC ignore \r otherwise it would complain about a syntax error (it would treat \r as a string of one character.) Found by TheGnuserland, thanks!! commit - 6e8a284fb2fc62682de6ee271af8d9d3bbf760d6 commit + c86d164e89788d2e0c3509f3e3901ec1a4f5a815 blob - c5cb9c10470e8b0c2b35adbc056382bc570e58ee blob + d9597baed7f6ffc9b32011c43a213251980eb591 --- parse.y +++ parse.y @@ -179,6 +179,9 @@ repeat: /* check for special one-character constructions */ switch (c) { + case '\r': + /* silently eat up any \r */ + goto repeat; case '\n': yylval.colno = 0; yylval.lineno++;