dynamobi/dynamobi — Issue #797: [FRG-73] Issues With Nested Comments
Author: dynamobi-build
Created: 2011-12-30 03:49:27+00:00
State: open
Labels: FRG, SQL Parser

[reporter="jhyde", created="Fri, 17 Mar 2006 14:44:26 -0500 (GMT-05:00)"]
There are miscellaneous bugs with nested multiline comments.

1. This should be valid (if I read the spec correctly), but currently it crashes

the parser. (It throws an obscure Error.)

/* outer /* inner comment */ comment */

2. It should be illegal for a multiline comment to contain a single-line

comment, like this:

values /* multiline contains -- singleline */

(1)

3. "*/" without preceding "/*" should fail gracefully, but the parser barfs:

values (1 */ 2)