Skip to content

Commit 3e61062

Browse files
h3n4lclaude
andcommitted
fix(cosmosdb): remove duplicate angle bracket tokens to resolve lexer conflicts
Remove LA_BRACKET_SYMBOL and RA_BRACKET_SYMBOL tokens that were conflicting with LESS_THAN_OPERATOR and GREATER_THAN_OPERATOR. The angle bracket symbols are now properly defined as comparison operators. This fixes ANTLR warnings about unreachable token values. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3f73da1 commit 3e61062

File tree

3 files changed

+344
-274
lines changed

3 files changed

+344
-274
lines changed

cosmosdb/CosmosDBLexer.g4

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ LS_BRACKET_SYMBOL: '[';
5454
RS_BRACKET_SYMBOL: ']';
5555
LR_BRACKET_SYMBOL: '(';
5656
RR_BRACKET_SYMBOL: ')';
57-
LA_BRACKET_SYMBOL: '<';
58-
RA_BRACKET_SYMBOL: '>';
5957
SINGLE_QUOTE_SYMBOL: '\'';
6058
DOUBLE_QUOTE_SYMBOL: '"';
6159
COMMA_SYMBOL: ',';

0 commit comments

Comments
 (0)