diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-01-04 10:48:13 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-01-31 22:03:51 -0800 |
commit | 8823cb892f42d6ac57b0703ce34bf092db3507d4 (patch) | |
tree | 9819f3fa37abdfd928ec198c494cdb1c57fca174 /perly.y | |
parent | a9f19d0f50fa6980e7bdbcf691d81e40b2669a17 (diff) | |
download | perl-8823cb892f42d6ac57b0703ce34bf092db3507d4.tar.gz |
Parse and compile string- and num-specific bitops
Yay, the semicolons are back.
Diffstat (limited to 'perly.y')
-rw-r--r-- | perly.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -829,7 +829,7 @@ termunop : '-' term %prec UMINUS /* -$x */ | '!' term /* !$x */ { $$ = newUNOP(OP_NOT, 0, scalar($2)); } | '~' term /* ~$x */ - { $$ = newUNOP(OP_COMPLEMENT, 0, scalar($2)); } + { $$ = newUNOP($1, 0, scalar($2)); } | term POSTINC /* $x++ */ { $$ = newUNOP(OP_POSTINC, 0, op_lvalue(scalar($1), OP_POSTINC)); } |