Skip to content

Commit

Permalink
fix for variables length of 1 character
Browse files Browse the repository at this point in the history
  • Loading branch information
cwisniew committed Sep 29, 2023
1 parent 9987d66 commit b781041
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
**/src/main/**/build/
**/src/test/**/build/

### IntelliJ IDEA ###
.idea
Expand Down Expand Up @@ -42,4 +42,4 @@ bin/
### Antlr files that IDE tools may generate
src/main/antlr/net/rptools/maptool/advanceddice/gen
src/main/antlr/net/rptools/maptool/advanceddice/build
src/main/gen
src/main/gen
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ FUNCTION : '#' IDENTIFIER;
// Variables
PROPERTY : LBRACE '@' (~[}])+ RBRACE;
PROMPT : LBRACE '?' (~[}])+ RBRACE;
VARIABLE : LBRACE (~[?@]) (~[}])+ RBRACE;
VARIABLE : LBRACE (~[?@]) (~[}])* RBRACE;
// Dice Types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ genesysNumberDice : INTEGER_LITERAL
| PROMPT
;


genesysFunction : func=FUNCTION LPAREN genesysFunctionParams RPAREN
;

Expand Down

0 comments on commit b781041

Please sign in to comment.