Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rb9be000b r5fcba14  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Dec 21 11:32:56 2017
    13 // Update Count     : 2996
     12// Last Modified On : Mon Nov 27 17:23:35 2017
     13// Update Count     : 2992
    1414//
    1515
     
    317317%type<decl> cfa_typedef_declaration cfa_variable_declaration cfa_variable_specifier
    318318
    319 %type<decl> c_declaration static_assert
     319%type<decl> c_declaration
    320320%type<decl> KR_function_declarator KR_function_no_ptr KR_function_ptr KR_function_array
    321321%type<decl> KR_declaration_list KR_declaration_list_opt
     
    835835        | exception_statement
    836836        | asm_statement
    837         ;
    838837
    839838labeled_statement:
     
    12831282        c_declaration pop ';'
    12841283        | cfa_declaration pop ';'                                                       // CFA
    1285         | static_assert
    1286         ;
    1287 
    1288 static_assert:
    1289         STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11
     1284        | STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11
    12901285                { throw SemanticError("Static assert is currently unimplemented."); $$ = nullptr; }     // FIX ME
     1286        ;
    12911287
    12921288// C declaration syntax is notoriously confusing and error prone. Cforall provides its own type, variable and function
     
    18941890                        $$ = distAttr( $2, $3 );
    18951891                }
    1896         | static_assert
    18971892        ;
    18981893
Note: See TracChangeset for help on using the changeset viewer.