From 163e130b132d6e6cb390a2bcfb311d7bc73686d1 Mon Sep 17 00:00:00 2001 From: Andreas Stadelmeier Date: Thu, 28 Nov 2024 13:09:25 +0100 Subject: [PATCH] Fix Identifier in Grammar --- src/main/antlr4/de/dhbwstuttgart/input/parser/ConstraintSet.g4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antlr4/de/dhbwstuttgart/input/parser/ConstraintSet.g4 b/src/main/antlr4/de/dhbwstuttgart/input/parser/ConstraintSet.g4 index 3f17519..9a49e77 100644 --- a/src/main/antlr4/de/dhbwstuttgart/input/parser/ConstraintSet.g4 +++ b/src/main/antlr4/de/dhbwstuttgart/input/parser/ConstraintSet.g4 @@ -17,7 +17,7 @@ tph : '_' IDENTIFIER; namedType : IDENTIFIER params?; params : '<' type (',' type)* '>'; -IDENTIFIER: [0-9A-Za-z.]+; +IDENTIFIER: [0-9A-Za-z.$[;][0-9A-Za-z.$[;_]*; NEWLINE : [\r\n]+ -> skip; WS: [ \t] -> skip ; \ No newline at end of file