Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r7e419e7 rf810e09  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Mar 22 16:56:21 2018
    13 // Update Count     : 3125
     12// Last Modified On : Fri Mar 16 17:24:44 2018
     13// Update Count     : 3081
    1414//
    1515
     
    126126        } // if
    127127} // rebindForall
    128 
    129 NameExpr * build_postfix_name( const string * name ) {
    130         NameExpr * new_name = build_varref( new string( "?`" + *name ) );
    131         delete name;
    132         return new_name;
    133 } // build_postfix_name
    134128
    135129bool forall = false;                                                                    // aggregate have one or more forall qualifiers ?
     
    486480        | '(' compound_statement ')'                                            // GCC, lambda expression
    487481                { $$ = new ExpressionNode( new StmtExpr( dynamic_cast< CompoundStmt * >(maybeMoveBuild< Statement >($2) ) ) ); }
    488         | constant '`' IDENTIFIER                                                       // CFA, postfix call
    489                 { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $3 ) ), $1 ) ); }
    490         | string_literal '`' IDENTIFIER                                         // CFA, postfix call
    491                 { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $3 ) ), new ExpressionNode( $1 ) ) ); }
    492         | IDENTIFIER '`' IDENTIFIER                                                     // CFA, postfix call
    493                 { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $3 ) ), new ExpressionNode( build_varref( $1 ) ) ) ); }
    494         | tuple '`' IDENTIFIER                                                          // CFA, postfix call
    495                 { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $3 ) ), $1 ) ); }
    496         | '(' comma_expression ')' '`' IDENTIFIER                       // CFA, postfix call
    497                 { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $5 ) ), $2 ) ); }
    498482        | type_name '.' no_attr_identifier                                      // CFA, nested type
    499483                { SemanticError( yylloc, "Qualified names are currently unimplemented." ); $$ = nullptr; } // FIX ME
Note: See TracChangeset for help on using the changeset viewer.