From 916430e5d3f33a24b13e188428d5335862472411 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Thu, 26 Jun 2025 23:31:09 -0400 Subject: Improve compilation of clauses to sqlite3 SQL --- pkg/query/lexer.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg/query/lexer.go') diff --git a/pkg/query/lexer.go b/pkg/query/lexer.go index 759b5bc..9e64b82 100644 --- a/pkg/query/lexer.go +++ b/pkg/query/lexer.go @@ -158,7 +158,6 @@ func Lex(query string) []Token { for _, match := range matches { if match[CLAUSE_START] != "" { tokens = append(tokens, Token{Type: TOK_CLAUSE_START}) - // TODO: set maximum nest level clauseLevel += 1 } if match[CLAUSE_OPERATOR] != "" { @@ -189,7 +188,6 @@ func Lex(query string) []Token { if match[CLAUSE_END] != "" { tokens = append(tokens, Token{Type: TOK_CLAUSE_END}) - // TODO: raise err if clauseLevel is 0 clauseLevel -= 1 } } -- cgit v1.2.3