Issue Details (XML | Word | Printable)

Key: PLSQL-66
Type: New Feature New Feature
Status: Open Open
Priority: Critical Critical
Assignee: Dinesh Bolkensteyn
Reporter: Dinesh Bolkensteyn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
PL/SQL

Handle Sql*Plus comments (rem command) directly at the lexer level

Created: 25/Jul/11 01:26 PM   Updated: 02/Apr/12 06:23 AM
Component/s: Parser
Affects Version/s: None
Fix Version/s: None

Issue Links:
Relates
 


 Description  « Hide

Currently,

rem Parametres          : 1. Numero de l'interface. Cette valeur doit

is not lexed successfully (stackover on ').

This is because, in a comment, any character might appear. The content of the comment does not have to be made of correctly formed tokens.

Therefore, "rem" must be handled directly at the lexer level, instead of at the parser level.



Sort Order: Ascending order - Click to sort in descending order
Dinesh Bolkensteyn added a comment - 28/Sep/11 11:57 AM

The lexer will not be able to tell a PL/SQL "REM"ainder from a Sql*Plus "REM"ark


Dinesh Bolkensteyn added a comment - 29/Sep/11 11:27 AM

Because of a conflict with PL/SQL (Sql*Plus and PL/SQL require two different lexers), we would need a "scannerless" parser to resolve this.


Dinesh Bolkensteyn added a comment - 12/Dec/11 04:31 PM

Still nothing we can do about this one, full Sql*Plus support is really required to tackle this.

(and probably a scannerless parser as well!)