Commit 59626458 authored by simonmar's avatar simonmar

[project @ 2005-08-02 12:01:57 by simonmar]

Allow an empty list of volatile regs on a call
parent 2785a233
...@@ -295,6 +295,7 @@ bool_op :: { ExtFCode BoolExpr } ...@@ -295,6 +295,7 @@ bool_op :: { ExtFCode BoolExpr }
-- This is not C-- syntax. What to do? -- This is not C-- syntax. What to do?
vols :: { Maybe [GlobalReg] } vols :: { Maybe [GlobalReg] }
: {- empty -} { Nothing } : {- empty -} { Nothing }
| '[' ']' { Just [] }
| '[' globals ']' { Just $2 } | '[' globals ']' { Just $2 }
globals :: { [GlobalReg] } globals :: { [GlobalReg] }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment