Ignore:
Timestamp:
Jun 4, 2018, 9:40:42 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
401e61f
Parents:
9a72c4d
Message:

fix single parameter _Static_assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r9a72c4d r6e3eaa57  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jun  2 17:18:40 2018
    13 // Update Count     : 3487
     12// Last Modified On : Mon Jun  4 21:24:46 2018
     13// Update Count     : 3488
    1414//
    1515
     
    13381338                { $$ = DeclarationNode::newStaticAssert( $3, $5 ); }
    13391339        | STATICASSERT '(' constant_expression ')' ';'          // CFA
    1340                 { $$ = DeclarationNode::newStaticAssert( $3, build_constantStr( *new string( "" ) ) ); }
     1340                { $$ = DeclarationNode::newStaticAssert( $3, build_constantStr( *new string( "\"\"" ) ) ); }
    13411341
    13421342// C declaration syntax is notoriously confusing and error prone. Cforall provides its own type, variable and function
Note: See TracChangeset for help on using the changeset viewer.