Home | History | Annotate | Download | only in doc

Lines Matching full:prec

15 @c Set following if you want to document %default-prec and %no-default-prec.
1946 | '-' exp %prec NEG @{ $$ = -$2; @}
1975 The other important new feature is the @code{%prec} in the grammar
1976 section for the unary minus operator. The @code{%prec} simply instructs
2140 | '-' exp %prec NEG @{ $$ = -$2; @}
2393 | '-' exp %prec NEG @{ $$ = -$2; @}
5164 @deffn {Directive} %default-prec
5165 Assign a precedence to rules lacking an explicit @code{%prec} modifier
5298 @deffn {Directive} %no-default-prec
5299 Do not assign a precedence to rules lacking an explicit @code{%prec}
7026 @findex %prec
7036 precedence, you need to use an additional mechanism: the @code{%prec}
7039 The @code{%prec} modifier declares the precedence of a particular rule by
7045 %prec @var{terminal-symbol}
7055 Here is how @code{%prec} solves the problem of unary minus. First, declare
7075 | '-' exp %prec UMINUS
7080 If you forget to append @code{%prec UMINUS} to the rule for unary
7085 The @code{%no-default-prec;} declaration makes it easier to discover
7087 @code{%prec} modifier to have no precedence, even if the last terminal
7090 If @code{%no-default-prec;} is in effect, you must specify @code{%prec}
7097 The effect of @code{%no-default-prec;} can be reversed by giving
7098 @code{%default-prec;}, which is the default.
7278 relies on precedences: use @code{%prec} to give a lower precedence to the
7288 | sequence word %prec "sequence"
7289 | sequence redirect %prec "sequence"
7310 | sequence word %prec "word"
7311 | sequence redirect %prec "redirect"
7526 conflicts statically (for example, with @code{%left} or @code{%prec}), then
11620 @deffn {Directive} %default-prec
11621 Assign a precedence to rules that lack an explicit @samp{%prec}
11732 @deffn {Directive} %no-default-prec
11733 Do not assign a precedence to rules that lack an explicit @samp{%prec}
11760 @deffn {Directive} %prec
12313 @c LocalWords: ungetc stdin scanf sc calc ulator ls lm cc NEG prec yyerrok rr