about summary refs log tree commit diff
path: root/src/libexpr/lexer.l
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-02T16·39+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-02T16·39+0200
commit3d77b28eacc940356e94c36017fb2d9f1a1b7ec2 (patch)
treeabf8ac9c0ea547078885db3ad699bb2da5d25752 /src/libexpr/lexer.l
parent47701677e88230abf7d9106c55f46aa660643ce7 (diff)
Add comparison operators ‘<’, ‘<=’, ‘>’ and ‘>=’
Diffstat (limited to 'src/libexpr/lexer.l')
-rw-r--r--src/libexpr/lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l
index fe2ff75d0d1c..3b7c6bb57a06 100644
--- a/src/libexpr/lexer.l
+++ b/src/libexpr/lexer.l
@@ -101,6 +101,8 @@ or          { return OR_KW; }
 
 \=\=        { return EQ; }
 \!\=        { return NEQ; }
+\<\=        { return LEQ; }
+\>\=        { return GEQ; }
 \&\&        { return AND; }
 \|\|        { return OR; }
 \-\>        { return IMPL; }