commit 7893cd8502b900941e57a041072b9ca524470d84
parent 8ecd9704f9564950d8ea80c0fcff04b8861b37e4
Author: Bert Münnich <ber.t@posteo.de>
Date: Tue, 1 May 2018 21:08:37 +0200
Silence parser conflicts caused by IF NOT
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/parse.y b/parse.y
@@ -16,6 +16,7 @@ Node *parsetree; /* not using yylval because bison declares it as an auto */
%token ANDAND BACKBACK BANG CASE COUNT DUP ELSE END FLAT FN FOR IF IN NOT
%token OROR PIPE REDIR SREDIR SUB SUBSHELL SWITCH TWIDDLE WHILE WORD HUH
+%left NOT
%left '^' '='
%right ELSE TWIDDLE
%left WHILE ')'