Changeset 1b54b54 for src/Parser


Ignore:
Timestamp:
Feb 21, 2019, 10:38:18 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
6ca6811
Parents:
2d2df9f
Message:

add decrement to new for control, add tests for it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r2d2df9f r1b54b54  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Feb 20 17:53:55 2019
    13 // Update Count     : 4231
     12// Last Modified On : Thu Feb 21 08:45:07 2019
     13// Update Count     : 4232
    1414//
    1515
     
    11711171        | comma_expression ';' comma_expression '~' '@' '~' comma_expression // CFA
    11721172                { $$ = forCtrl( $3, $1, $3->clone(), OperKinds::LThan, nullptr, $7 ); }
     1173        | comma_expression ';' comma_expression ErangeDown '@' '~' comma_expression // CFA
     1174                { $$ = forCtrl( $3, $1, $3->clone(), OperKinds::GThan, nullptr, $7 ); }
    11731175        | comma_expression ';' comma_expression '~' '@' '~' '@' // CFA
    11741176                { $$ = forCtrl( $3, $1, $3->clone(), OperKinds::LThan, nullptr, nullptr ); }
Note: See TracChangeset for help on using the changeset viewer.