summaryrefslogtreecommitdiff
path: root/frontends/ilang/lexer.l
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-01 17:28:02 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-01 17:28:02 +0100
commitaf325bf2060b926eeedcfb57b439c619d6494a5a (patch)
tree78091d86622a1d9bf8df14d44b62e7c611627f00 /frontends/ilang/lexer.l
parentd06258f74f724ea3ed26ec9341dd64a51e320ccf (diff)
Fixed comment/eol parsing in ilang frontend
Diffstat (limited to 'frontends/ilang/lexer.l')
-rw-r--r--frontends/ilang/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ilang/lexer.l b/frontends/ilang/lexer.l
index fd842b3d..5da8ce67 100644
--- a/frontends/ilang/lexer.l
+++ b/frontends/ilang/lexer.l
@@ -109,7 +109,7 @@ void update_autoidx(const char *p);
}
<STRING>. { yymore(); }
-"#"[^\n]*\n /* ignore comments */
+"#"[^\n]* /* ignore comments */
[ \t] /* ignore non-newline whitespaces */
[\r\n]+ { return TOK_EOL; }