tolerate 'local' keyword in date and time literals

no reason to choke on this, doesn't seem to be ambiguous
This commit is contained in:
Gavin 2023-01-14 11:00:55 +01:00 committed by Gavin King
parent 4a87bc4bb8
commit 6a238adc6c
1 changed files with 2 additions and 2 deletions

View File

@ -902,7 +902,7 @@ offsetDateTimeLiteral
*/
dateLiteral
: LEFT_BRACE date RIGHT_BRACE
| DATE date
| LOCAL? DATE date
;
/**
@ -910,7 +910,7 @@ dateLiteral
*/
timeLiteral
: LEFT_BRACE time RIGHT_BRACE
| TIME time
| LOCAL? TIME time
;
/**