Update copyright
[project/jsonpath.git] / lexer.l
diff --git a/lexer.l b/lexer.l
index 18937e888355774c04e7d7883d8a017b19ad08a5..046de730ce2c1b8a80bd3e9416f1f8f907733618 100644 (file)
--- a/lexer.l
+++ b/lexer.l
@@ -1,6 +1,6 @@
 %{
 /*
- * Copyright (C) 2013 Jo-Philipp Wich <jow@openwrt.org>
+ * Copyright (C) 2013-2014 Jo-Philipp Wich <jow@openwrt.org>
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -77,6 +77,7 @@ BROPEN                "["
 BRCLOSE                "]"
 POPEN          "("
 PCLOSE         ")"
+COMMA          ","
 
 ROOT           "$"
 THIS           "@"
@@ -160,6 +161,7 @@ WS                  [ \t\n]*
 {BRCLOSE}      { return T_BRCLOSE; }
 {POPEN}                { return T_POPEN; }
 {PCLOSE}       { return T_PCLOSE; }
+{COMMA}                { return T_UNION; }
 
 {ROOT}         { return T_ROOT; }
 {THIS}         { return T_THIS; }