Treat colons and commas as end of input in expression parser
[fio.git] / exp / expression-parser.l
index bb80553ee40349a1ec596f0c7c66142c4b2e365c..c084db6a1885786f84a015c726ebf8b870eaa06b 100644 (file)
@@ -109,7 +109,7 @@ bye         return BYE;
                        return SUFFIX;
                }
 [ \t] ; /* ignore whitespace */
-#.+ ; /* ignore comments */
+[#:,].* ; /* ignore comments, and everything after colons and commas */
 [0-9]*[.][0-9]+ {
                        int rc;
                        double dval;