This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-247
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-247 by this push:
new fb1c789 Update NCMacroDsl.g4
fb1c789 is described below
commit fb1c7899797510bc0bfeb496984fae8da0a3adf7
Author: Aaron Radzinski <[email protected]>
AuthorDate: Wed Feb 24 11:52:57 2021 -0800
Update NCMacroDsl.g4
---
.../scala/org/apache/nlpcraft/common/makro/antlr4/NCMacroDsl.g4 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/makro/antlr4/NCMacroDsl.g4
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/makro/antlr4/NCMacroDsl.g4
index 85ceabf..a5ea46e 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/makro/antlr4/NCMacroDsl.g4
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/makro/antlr4/NCMacroDsl.g4
@@ -37,8 +37,8 @@ list
// Lexer.
LCURLY: '{';
RCURLY: '}';
-LBR: '[';
-RBR: ']';
+LBR: '<';
+RBR: '>';
VERT: '|';
COMMA: ',';
UNDERSCORE: '_';
@@ -46,7 +46,7 @@ fragment ESC_CHAR: [{}\\<>_[\]|,];
fragment ESC: '\\' ESC_CHAR;
fragment TXT_CHAR
: [~!@#$%^&*()+.]
- | [-=<>/\\;:`'"]
+ | [-=[\]/\\;:`'"]
| '\u00B7'
| 'A'..'Z'
| 'a'..'z'