> On 3 Feb 2019, at 07:50, an...@aakhare.in wrote: > > The first effect of the precedence declarations is to assign precedence > levels to the terminal symbols declared. The second effect is to assign > precedence levels to certain rules: each rule gets its precedence from the > last terminal symbol mentioned in the components.
If you write the .output file using --verbose or %verbose, the precedence makes a choice at the parsing dot "." in the case of a shift/reduce conflict, see the Bison manual, sec. 5.2. I thought it was between the lookahead token and the token before the dot, but perhaps Akim can clarify. _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison