summaryrefslogtreecommitdiff
path: root/src/cmd/8a/a.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/8a/a.y')
-rw-r--r--src/cmd/8a/a.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/8a/a.y b/src/cmd/8a/a.y
index 96976089d..f1881808f 100644
--- a/src/cmd/8a/a.y
+++ b/src/cmd/8a/a.y
@@ -392,6 +392,12 @@ imm:
$$.type = D_FCONST;
$$.dval = $3;
}
+| '$' '(' '-' LFCONST ')'
+ {
+ $$ = nullgen;
+ $$.type = D_FCONST;
+ $$.dval = -$4;
+ }
| '$' '-' LFCONST
{
$$ = nullgen;