summaryrefslogtreecommitdiff
path: root/lisp.l
diff options
context:
space:
mode:
Diffstat (limited to 'lisp.l')
-rw-r--r--lisp.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp.l b/lisp.l
index 5ad5c57..20b64af 100644
--- a/lisp.l
+++ b/lisp.l
@@ -7,7 +7,8 @@ int tcnt = 0;
%}
%%
-[[:space:]]+ { /*ignore whitespace*/}
+[[:space:]]+ { /* ignore whitespace */ }
+";"[^\n]* { /* ignore comment */ }
"(" { return LPAREN; }
")" { return RPAREN; }
"\." { return DOT; }