Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 166409 - problem parsing select statements
Summary: problem parsing select statements
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Lang (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Craig E Rasmussen CLA
QA Contact: Beth Tibbitts CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 16:50 EST by Chris Rickett CLA
Modified: 2011-01-31 08:08 EST (History)
0 users

See Also:


Attachments
includes new test cases (1.92 KB, application/x-tar)
2006-11-30 16:52 EST, Chris Rickett CLA
g.watson: iplog+
Details
test cases for the lexer/parser (7.65 KB, application/x-tar)
2006-11-30 17:19 EST, Chris Rickett CLA
g.watson: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rickett CLA 2006-11-30 16:50:23 EST
The parser is having problems accepting some select statements.
Comment 1 Chris Rickett CLA 2006-11-30 16:52:37 EST
Created attachment 54832 [details]
includes new test cases

The patch includes more JUnit tests.  There are test cases that illustrate the bug with select statements.
Comment 2 Chris Rickett CLA 2006-11-30 17:19:03 EST
Created attachment 54835 [details]
test cases for the lexer/parser

The previously attached patch only updates the JUnit classes to include the new tests, but does not include the test cases.  This patch has all of the new test cases only (it was created at the 'parser-test-files' level in the package view).
Comment 3 Chris Rickett CLA 2007-02-07 00:15:45 EST
The updated parser in the repository is partially fixed for select statements.  however, select type statements still are not working.  the parser incorrectly handles a 'type is' statement that uses an intrinsic type (e.g., type is(integer)).  
Comment 4 Chris Rickett CLA 2007-02-07 00:45:57 EST
More information on the failing 'select type' statements, including an example, is in bug #173230.
Comment 5 Chris Rickett CLA 2007-07-10 17:47:46 EDT
This bug has been fixed and a test case has been added to tests/bug-reports.