Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does %prec '.' mean here in yacc?

Tags:

yacc

notype_declarator:
      notype_declarator '(' parmlist_or_identifiers  %prec '.'
        { $$ = build_nt (CALL_EXPR, $1, $3, NULL_TREE); }

Anyone familiar with yacc rules?

like image 764
assem Avatar asked Mar 16 '11 19:03

assem


1 Answers

It declares that the construct has the same precedence as the '.' operator, which have been specified earlier.

like image 56
geekosaur Avatar answered Sep 22 '22 09:09

geekosaur