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

Key: ANTLR-113
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Terence Parr
Reporter: Terence Parr
Votes: 0
Watchers: 0
Operations

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

back code gen for isolated EOT transition

Created: 20/Apr/07 11:47 AM   Updated: 20/Apr/07 12:02 PM
Component/s: ANTLR Core
Affects Version/s: 3.0b7
Fix Version/s: 3.0b8


 Description  « Hide
QUOTED_CONTENT
        : Q (~Q)* (('\\'Q) )* Q ;

Q : '"' ;

fails. Get output like:

                    if ( (LA5_1=='\"') ) {
                        int LA5_4 = input.LA(3);
                        // MISSSING IF CONDITION
                        else {
                            alt5=1;
                        }

Isolated EOT should become just alt5=1

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 20/Apr/07 12:02 PM
tweaked template so it doens't use else if no other edges