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

Key: DBN-12
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Dan Cioca
Reporter: Dan Cioca
Votes: 0
Watchers: 0
Operations

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

Wrong handling of the "Rem" token

Created: 12 Feb 08 03:20   Updated: 12 Feb 08 13:17
Component/s: Script File Editor, Source Code Editor
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 151


 Description  « Hide
The "rem" token is typically a SQL script line commenter. It currently acts as a line comment for PL/SQL as well, which is wrong.
Additionally, in SQL it should only be considered comment if it appears at the beginning of the line, which is also not the case right now.

 All   Comments   Work Log   Change History      Sort Order:
Chris Rimmer - 12 Feb 08 13:17
Rem also needs to be separated from the rest of the line by whitespace, although whitespace can appear before it:

SQL> rem hello
SQL> rem hello
SQL> remhello
SP2-0042: unknown command "remhello" - rest of line ignored.
SQL>