Changeset aeb5d0d


Ignore:
Timestamp:
Feb 26, 2020, 6:13:43 PM (20 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
930b504
Parents:
dd9e1ca
Message:

parse monitor generator,coroutine,thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rdd9e1ca raeb5d0d  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Feb 21 14:47:29 2020
    13 // Update Count     : 4468
     12// Last Modified On : Wed Feb 26 14:27:39 2020
     13// Update Count     : 4472
    1414//
    1515
     
    20772077aggregate_control:                                                                              // CFA
    20782078        GENERATOR
    2079                 { yyy = true; $$ = AggregateDecl::Coroutine; }
     2079                { SemanticError( yylloc, "generator is currently unimplemented." ); $$ = AggregateDecl::NoAggregate; }
     2080        | MONITOR GENERATOR
     2081                { SemanticError( yylloc, "monitor generator is currently unimplemented." ); $$ = AggregateDecl::NoAggregate; }
    20802082        | COROUTINE
    20812083                { yyy = true; $$ = AggregateDecl::Coroutine; }
    20822084        | MONITOR
    20832085                { yyy = true; $$ = AggregateDecl::Monitor; }
     2086        | MONITOR COROUTINE
     2087                { SemanticError( yylloc, "monitor coroutine is currently unimplemented." ); $$ = AggregateDecl::NoAggregate; }
    20842088        | THREAD
    20852089                { yyy = true; $$ = AggregateDecl::Thread; }
     2090        | MONITOR THREAD
     2091                { SemanticError( yylloc, "monitor thread is currently unimplemented." ); $$ = AggregateDecl::NoAggregate; }
    20862092        ;
    20872093
Note: See TracChangeset for help on using the changeset viewer.