Changeset 124 for NEWT0

Show
Ignore:
Timestamp:
05/29/08 03:27:57 (7 months ago)
Author:
matthiasm
Message:

Added a commented out rule which allows a semicolon before 'else' which is used in the Newton platform files and should be supported.

Location:
NEWT0/branches/DyneTK
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/branches/DyneTK/newt_all.xcodeproj/project.pbxproj

    r65 r124  
    139139            isa = PBXProject; 
    140140            buildConfigurationList = F541302B096D1DEB00CFD896 /* Build configuration list for PBXProject "newt_all" */; 
     141            compatibilityVersion = "Xcode 2.4"; 
    141142            hasScannedForEncodings = 1; 
    142143            mainGroup = 08FB7794FE84155DC02AAC07 /* newt */; 
     
    156157                }, 
    157158            ); 
     159            projectRoot = ""; 
    158160            targets = ( 
    159161                DA16688F0A438DE6005937AA /* All */, 
  • NEWT0/branches/DyneTK/src/parser/newt.y

    r68 r124  
    456456        : kIF expr kTHEN expr                   { $$ = NPSGenIfThenElse($2, $4, kNewtRefUnbind); } 
    457457        | kIF expr kTHEN expr kELSE expr        { $$ = NPSGenIfThenElse($2, $4, $6); } 
    458 //      | kIF expr kTHEN expr ';' kELSE expr    { $$ = NPSGenIfThenElse($2, $4, $7); } 
     458        | kIF expr kTHEN expr ';' kELSE expr    { $$ = NPSGenIfThenElse($2, $4, $7); } 
    459459        ; 
    460460