Clean up warnings about ambiguous grammar.
@@ -159,6 +159,26 @@ static void setupinit(Node *n);
%type <uconlist> unionbody
+/*
+We want to bind more tightly to `Foo unaryexpr
+than to binary operators around it. Eg:
+
+ `Foo +bar
+
+should be interpreted as
+
+ (`Foo (+bar))
+
+and not
+
+ (`Foo) + (bar)
+
+The default action of shifting does the right thing,
+but warnings suck.
+*/
+%left Ttick
+%left Tplus Tminus Tband
+
%union {
struct {
Srcloc loc;
