commit b0b8ff7b1dbc2cd316cdb4afe51b02e1dda9851d
parent 8ecd9704f9564950d8ea80c0fcff04b8861b37e4
Author: Toby Goodwin <toby@paccrat.org>
Date: Wed, 2 May 2018 22:42:26 +0100
Merge pull request #47 from muennich/ifnot-conflicts
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 ')'