Changeset 203c667 for src/Parser


Ignore:
Timestamp:
Jun 24, 2018, 12:04:00 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
b199e54
Parents:
3d56d15b
Message:

clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r3d56d15b r203c667  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jun 22 13:59:11 2018
    13 // Update Count     : 3586
     12// Last Modified On : Sun Jun 24 10:41:10 2018
     13// Update Count     : 3587
    1414//
    1515
     
    505505                { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $5 ) ), $2 ) ); }
    506506        | type_name '.' no_attr_identifier                                      // CFA, nested type
    507                 // { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; }
    508                 { $$ = nullptr; }
     507                { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; }
    509508        | type_name '.' '[' field_list ']'                                      // CFA, nested type / tuple field selector
    510                 // { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; }
    511                 { $$ = nullptr; }
     509                { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; }
    512510        | GENERIC '(' assignment_expression ',' generic_assoc_list ')' // C11
    513511                {
     
    18341832                {
    18351833                        typedefTable.makeTypedef( *$3, forall ? TYPEGENname : TYPEDEFname ); // create typedef
    1836                         //if ( forall ) typedefTable.changeKind( *$3, TYPEGENname ); // possibly update
    18371834                        forall = false;                                                         // reset
    18381835                }
     
    18421839                {
    18431840                        typedefTable.makeTypedef( *$3->type->symbolic.name, forall ? TYPEGENname : TYPEDEFname ); // create typedef
    1844                         //if ( forall ) typedefTable.changeKind( *$3->type->symbolic.name, TYPEGENname ); // possibly update
    18451841                        forall = false;                                                         // reset
    18461842                }
     
    18561852                {
    18571853                        typedefTable.makeTypedef( *$3, forall ? TYPEGENname : TYPEDEFname );
    1858                         //if ( forall ) typedefTable.changeKind( *$3, TYPEGENname ); // possibly update
    18591854                        forall = false;                                                         // reset
    18601855                        $$ = DeclarationNode::newAggregate( $1, $3, nullptr, nullptr, false )->addQualifiers( $2 );
Note: See TracChangeset for help on using the changeset viewer.