|
it ('can parse nested full comments', () => { |
|
lexer.reset('/* /* */ /* /* */ */ */ select'); |
I was wondering about this test case. Shouldn't the lexer detect that as a syntax error?
Postgresql throws: syntax error at or near "*/"
Also notice that the github code highlighter doesn't expect nested comments.
pgsql-ast-parser/src/lexer.spec.ts
Lines 241 to 242 in 2c84d4c
I was wondering about this test case. Shouldn't the lexer detect that as a syntax error?
Postgresql throws: syntax error at or near "*/"
Also notice that the github code highlighter doesn't expect nested comments.