History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FRG-73
Type: Bug Bug
Status: Open Open
Priority: Trivial Trivial
Assignee: John V. Sichi
Reporter: Julian Hyde
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Farrago

Issues With Nested Comments

Created: 17/Mar/06 02:44 PM   Updated: 19/Apr/06 11:50 AM
Component/s: SQL Parser
Affects Version/s: None
Fix Version/s: None

Environment: All


 Description  « Hide
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)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.