Changeset 345


Ignore:
Timestamp:
04/04/15 20:46:04 (5 years ago)
Author:
Maciej Komosinski
Message:

Fixed operator priorities in FramScript?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/vm/framscript.y

    r341 r345  
    648648;
    649649
     650stackexpr: expr {if ($1.constant) {trctx.out->printf("push %s\n",litstr($1)); trstack.adjust(-1); $$.constant=0;} }
     651
    650652expr_or_empty:
    651653         expr {$$=$1;}
     
    12781280                               $$.setString(t); $$.constant=0;}
    12791281
    1280 stackexpr: expr {if ($1.constant) {trctx.out->printf("push %s\n",litstr($1)); trstack.adjust(-1); $$.constant=0;} }
    1281 
    12821282arguments: /* empty */         { $$.setInt(0); }
    12831283         |  stackexpr               { $$.setInt(1); }
Note: See TracChangeset for help on using the changeset viewer.