pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:328:   %type <n> annotation_list   %type <n> attribute   %type <n> assoc_pair   %type <n> line_number_info   %type <n> block   %type <n> optional_block   %type <n> failsafe_block   %type <n> safe_apply_with_line_info   %type <n> open_paren_with_line_info   %type <n> open_paren_or_safe_apply_with_line_info - %type <n> close_paren_or_missing +    %type <n> open_bracket_with_line_info   %type <n> block_or_semi   %type <n> break   %type <n> case   %type <n> catch   %type <n> catch_arg   %type <n> anon_class   %type <n> named_class   %type <n> enum   %type <n> enum_value
pike.git/src/language.yacc:696:    {    /* Used to hold line-number info */    $$ = mkintnode(0);    }    ;      open_paren_or_safe_apply_with_line_info: open_paren_with_line_info    | safe_apply_with_line_info    ;    - close_paren_or_missing: ')' -  { -  /* Used to hold line-number info */ -  $$ = mkintnode(0); -  } -  | /* empty */ -  { -  yyerror("Missing ')'."); -  /* Used to hold line-number info */ -  $$ = mkintnode(0); -  } -  ; -  +    close_brace_or_missing: '}'    | /* empty */    {    yyerror("Missing '}'.");    }    ;      close_brace_or_eof: '}'    | TOK_LEX_EOF    {