Skip to content

Commit

Permalink
Fixed reserved TIME_UNIT literals used as IDENTIFIER
Browse files Browse the repository at this point in the history
  • Loading branch information
vpinna80 authored Oct 8, 2024
1 parent d1cbcf8 commit eb13cd2
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions v2.1/src/main/antlr4/org/sdmx/vtl/VtlTokens.g4
Original file line number Diff line number Diff line change
Expand Up @@ -277,18 +277,19 @@ BOOLEAN_CONSTANT

TIME_UNIT
:
'A'
|'S'
|'M'
|'Q'
|'W'
|'D'
|'T'
'"A"'
|'"S"'
|'"M"'
|'"Q"'
|'"W"'
|'"D"'
|'"T"'
;

STRING_CONSTANT
:
'"' (~'"')* '"'
TIME_UNIT
| '"' (~'"')* '"'
;

IDENTIFIER
Expand Down

0 comments on commit eb13cd2

Please sign in to comment.