aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2021-03-19 13:55:21 +0100
committerGitHub <noreply@github.com>2021-03-19 13:55:21 +0100
commit2ae36302b553f85ffb50d91a390b4c5f04c26e42 (patch)
treef71746a4a808dfde8f4d980fcac40fc8a01fe25c /container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4
parent263a665335309681bba612624127b1323ed6fec7 (diff)
parentbcd73cb92c9ab6df5001386cebfc3cb2d0247db8 (diff)
Merge pull request #17047 from vespa-engine/bratseth/dash-in-source
Allow dash in ident as it is legal in source names
Diffstat (limited to 'container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4')
-rw-r--r--container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g42
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 8a6f2cf9e87..b7d443ea56c 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')