Skip to content

Commit f93143b

Browse files
vsai12claude
andauthored
fix(plsql): add missing tokens to regular_id rule (#48)
Add new tokens from the grammar sync to the regular_id rule so they can be used as identifiers: - ITEMS, BYTES, LINES, RECORDS, FIELD, MASK, NEWLINE_ - CHARSETFORM, CHARSETID, DURATION, ENABLED, MAXLEN - ERROR_CODE, ERROR_INDEX - EXTEND, NOEXTEND, NOSCALE, NOSHARD, SHARD, POLYMORPHIC These tokens were added to the lexer in the grammar sync but were not added to regular_id, causing them to be treated as reserved keywords that cannot be used as identifiers. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9ed369a commit f93143b

2 files changed

Lines changed: 1746 additions & 1389 deletions

File tree

plsql/PlSqlParser.g4

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7512,6 +7512,26 @@ regular_id
75127512
| REGULAR_ID
75137513
| ABSENT
75147514
| A_LETTER
7515+
| BYTES
7516+
| CHARSETFORM
7517+
| CHARSETID
7518+
| DURATION
7519+
| ENABLED
7520+
| ERROR_CODE
7521+
| ERROR_INDEX
7522+
| EXTEND
7523+
| FIELD
7524+
| ITEMS
7525+
| LINES
7526+
| MASK
7527+
| MAXLEN
7528+
| NEWLINE_
7529+
| NOEXTEND
7530+
| NOSCALE
7531+
| NOSHARD
7532+
| POLYMORPHIC
7533+
| RECORDS
7534+
| SHARD
75157535
| AGENT
75167536
| AGGREGATE
75177537
| ANALYZE

0 commit comments

Comments
 (0)