diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 22:22:08 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 22:22:08 +0000 |
commit | 63d10433c9e92028d5b6acda47119bde998eae1f (patch) | |
tree | e0d4e1506d3c0c60de6ce2162f80dc5ed5814159 /parser.y | |
parent | ea9db414edd078d8cb5e95a7694df7ae81d6daac (diff) |
Fix a horrible scoping/associativity bug.
`1 as $x | . | $x` didn't compile, as it was parsed as
(1 as $x | .) | $x
where `$x` is undefined, rather than as
1 as $x | (. | $x)
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ struct lexer_param; /* revolting hack */ %left ';' -%left '|' +%right '|' %left ',' %right "//" %nonassoc '=' SETPIPE SETPLUS SETMINUS SETMULT SETDIV SETDEFINEDOR |