From: Sebastian Harl Date: Sat, 5 Apr 2014 17:49:47 +0000 (+0200) Subject: frontend: Don't ignore single characters in the scanner. X-Git-Tag: sysdb-0.1.0~145 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d08d43721744f9f4b83c2a39f822431ef87b50e8;p=sysdb.git frontend: Don't ignore single characters in the scanner. This would lead to those characters be silently ignored at any place in the input stream. --- diff --git a/src/frontend/scanner.l b/src/frontend/scanner.l index 61f1743..4dcd5e2 100644 --- a/src/frontend/scanner.l +++ b/src/frontend/scanner.l @@ -110,7 +110,7 @@ string ('[^']*') return STRING; } -. { /* do nothing for now */ } +. { /* XXX: */ return yytext[0]; } %%