Skip to content

Commit ea71aee

Browse files
vsai12claude
andcommitted
style(plsql): group bracket/paren tokens together in lexer
Move LEFT_CURLY_PAREN and RIGHT_CURLY_PAREN to be adjacent to LEFT_BRACKET/RIGHT_BRACKET and LEFT_PAREN/RIGHT_PAREN for easier navigation and consistency. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 92ffbee commit ea71aee

2 files changed

Lines changed: 550 additions & 550 deletions

File tree

plsql/PlSqlLexer.g4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,6 @@ INQUIRY_DIRECTIVE: '$$' (SIMPLE_LETTER | '_')+;
24592459
INTERNAL: 'INTERNAL';
24602460
ITEMS: 'ITEMS';
24612461
LATEST: 'LATEST';
2462-
LEFT_CURLY_PAREN: '{';
24632462
LINES: 'LINES';
24642463
MAXLEN: 'MAXLEN';
24652464
NOLOG: 'NOLOG';
@@ -2470,7 +2469,6 @@ PERCENT_BULK_EXCEPTIONS: '%' SPACE* 'BULK_EXCEPTIONS';
24702469
PERCENT_BULK_ROWCOUNT: '%' SPACE* 'BULK_ROWCOUNT';
24712470
POLYMORPHIC: 'POLYMORPHIC';
24722471
RCFILE: 'RCFILE';
2473-
RIGHT_CURLY_PAREN: '}';
24742472
SEQUENCEFILE: 'SEQUENCEFILE';
24752473
SERDE: 'SERDE';
24762474
SERDEPROPERTIES: 'SERDEPROPERTIES';
@@ -2611,8 +2609,10 @@ SEMICOLON: ';';
26112609
BAR: '|';
26122610
EQUALS_OP: '=';
26132611

2614-
LEFT_BRACKET: '[';
2615-
RIGHT_BRACKET: ']';
2612+
LEFT_BRACKET: '[';
2613+
RIGHT_BRACKET: ']';
2614+
LEFT_CURLY_PAREN: '{';
2615+
RIGHT_CURLY_PAREN: '}';
26162616

26172617
INTRODUCER: '_';
26182618

0 commit comments

Comments
 (0)