Ignore:
Timestamp:
Jun 18, 2013, 3:05:35 PM (6 years ago)
Author:
ksherdy
Message:

Renamed LocalVarDecl? type VarDecl?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/input/grammar/scatter/pabloS.scatter

    r3259 r3328  
    126126        // s t a t e m e n t s
    127127        //
    128         stmt                                    #->     localVarDecl | funcCallOrAssignStmt | ifStmt | whileStmt | returnStmt  ;
     128        stmt                                    #->     varDecl | funcCallOrAssignStmt | ifStmt | whileStmt | returnStmt  ;
    129129        blockStmt                               ->      LCURLY stmt* RCURLY ;
    130         localVarDecl                    ->      type varName (ASSIGN^ expr) ? TERMINATOR ;
     130        varDecl                                 ->      type varName (ASSIGN^ expr) ? TERMINATOR ;
    131131        varName                                 #-> compoundIdentifier ;
    132132        funcCallOrAssignStmt    #-> expr (assignRest _promote_) ? TERMINATOR ; // add SA to validate expr is a function call
Note: See TracChangeset for help on using the changeset viewer.