documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
1fa763e0c5
commit
510294058e
|
@ -303,9 +303,9 @@ let mktype_kind pflag kind =
|
|||
/* Precedences and associativities.
|
||||
|
||||
Tokens and rules have precedences. A reduce/reduce conflict is resolved
|
||||
by comparing the precedences of the two rules. A shift/reduce conflict
|
||||
is resolved by comparing the precedence of the token to be shifted with
|
||||
the rule to be reduced.
|
||||
in favor of the first rule (in source file order). A shift/reduce conflict
|
||||
is resolved by comparing the precedence and associativity of the token to
|
||||
be shifted with those of the rule to be reduced.
|
||||
|
||||
By default, a rule has the precedence of its rightmost terminal (if any).
|
||||
|
||||
|
|
Loading…
Reference in New Issue