diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-03-18 17:32:53 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-03-18 17:32:53 +0100 |
commit | bcd73cb92c9ab6df5001386cebfc3cb2d0247db8 (patch) | |
tree | ca9489030cc5003631b330fb5969422909179cae /container-search/src/main/antlr4/com/yahoo | |
parent | 949e8235ead29dfa13d9aca8b36ef625a4fe396b (diff) |
Allow dash in ident as it is legal in source names
Diffstat (limited to 'container-search/src/main/antlr4/com/yahoo')
-rw-r--r-- | container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 b/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 index d680ea1b91e..497465c1582 100644 --- a/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 +++ b/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 @@ -131,7 +131,7 @@ options { * LEXER RULES *------------------------------------------------------------------*/ -ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|':')* +ID : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|':'|'-')* ; LONG_INT : '-'?'0'..'9'+ ('L'|'l') |