From 74bb780062f4ace0f0a0a6fc00c18a9b744eb609 Mon Sep 17 00:00:00 2001 From: Arne Juul Date: Thu, 30 Mar 2023 09:01:46 +0000 Subject: move tokens containing "-" to identifierWithDash() production --- config-model/src/main/javacc/SchemaParser.jj | 61 ++++++++++++++-------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/config-model/src/main/javacc/SchemaParser.jj b/config-model/src/main/javacc/SchemaParser.jj index 1684bf732d9..e8bbb163fdf 100644 --- a/config-model/src/main/javacc/SchemaParser.jj +++ b/config-model/src/main/javacc/SchemaParser.jj @@ -2571,7 +2571,37 @@ String identifierWithDash() : { ( identifier = identifier() { return identifier; } ) | - ( { return token.image; } ) + ( + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + ) { return token.image; } } /** @@ -2597,31 +2627,19 @@ String identifier() : { } | | | - | - | - | | | | | - | | | - | - | | - | - | | - | - | - | | | |
| | - | | | | @@ -2629,7 +2647,6 @@ String identifier() : { } | | | - | | | | @@ -2637,19 +2654,14 @@ String identifier() : { } | | | - | | | | | - | | | | | - | - | - | | | | @@ -2658,7 +2670,6 @@ String identifier() : { } | | | - | | | | @@ -2666,21 +2677,13 @@ String identifier() : { } | | | - | | | - | - | - | - | | | - | - | | | | - | | | | @@ -2698,7 +2701,6 @@ String identifier() : { } | | | - | | | | @@ -2708,7 +2710,6 @@ String identifier() : { } | | | - | | | | -- cgit v1.2.3