LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
52 stars 24 forks source link

[FRG-73] Issues With Nested Comments #797

Open dynamobi-build opened 12 years ago

dynamobi-build commented 12 years ago

[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)