diff options
author | rsc <devnull@localhost> | 2007-03-26 12:02:41 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-03-26 12:02:41 +0000 |
commit | c8f538425f4e92e1e438b9bd25cb08e250a93d5b (patch) | |
tree | d701abbcd4973d5b6909d104eefe521de70a4e1c /src/cmd/rc/syn.y | |
parent | 79049567a0fac8707ea3f2927403445bdb2394fa (diff) | |
download | plan9port-c8f538425f4e92e1e438b9bd25cb08e250a93d5b.tar.gz plan9port-c8f538425f4e92e1e438b9bd25cb08e250a93d5b.tar.bz2 plan9port-c8f538425f4e92e1e438b9bd25cb08e250a93d5b.zip |
sync with plan 9
Diffstat (limited to 'src/cmd/rc/syn.y')
-rw-r--r-- | src/cmd/rc/syn.y | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/rc/syn.y b/src/cmd/rc/syn.y index 5123ce4a..c7de3531 100644 --- a/src/cmd/rc/syn.y +++ b/src/cmd/rc/syn.y @@ -2,7 +2,6 @@ %term WORD REDIR DUP PIPE SUB %term SIMPLE ARGLIST WORDS BRACE PAREN PCMD PIPEFD /* not used in syntax */ /* operator priorities -- lowest first */ -%left LOW %left IF WHILE FOR SWITCH ')' NOT %left ANDAND OROR %left BANG SUBSHELL @@ -10,7 +9,6 @@ %left '^' %right '$' COUNT '"' %left SUB -%left '=' %{ #include "rc.h" #include "fns.h" @@ -80,7 +78,6 @@ first: comword word: keyword {lastword=1; $1->type=WORD;} | comword | word '^' word {$$=tree2('^', $1, $3);} -| word '=' word %prec LOW {$$=tree2('^', tree2('^', $1, token("=", WORD)), $3);} comword: '$' word {$$=tree1('$', $2);} | '$' word SUB words ')' {$$=tree2(SUB, $2, $4);} | '"' word {$$=tree1('"', $2);} |