summaryrefslogtreecommitdiff
path: root/conf/cf-lex.l
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-05-06 22:00:54 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-05-06 22:00:54 +0200
commitb8cc390e7ed724a9ad605453227d1e4686f3a11b (patch)
tree9602fa14bd688c0cc62e4c18b660ae53efee4839 /conf/cf-lex.l
parent409e8a6e21d3df0919fd2e131ba9a58222baee50 (diff)
Fixes several problems in filter syntax.
- Fixes several conflicts in the grammar. - Fixes a bug in (a..b, c) pair patterns. - Makes pair patterns orthogonal. - Allows term expressions in pair patterns without additional ( ). - Allows several comma separated values in switch cases.
Diffstat (limited to 'conf/cf-lex.l')
-rw-r--r--conf/cf-lex.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 828dfd25..a5f70fff 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -172,6 +172,10 @@ else: {
return CLI_MARKER;
}
+\.\. {
+ return DDOT;
+}
+
[={}:;,.()+*/%<>~\[\]?!\|-] {
return yytext[0];
}