Commit eb908b8d by Zachary Snow

fix ordering of and outputs

parent a1705363
...@@ -781,7 +781,7 @@ NOutputGate :: { (Expr, Identifier, [LHS], Expr) } ...@@ -781,7 +781,7 @@ NOutputGate :: { (Expr, Identifier, [LHS], Expr) }
: DelayControlOrNil opt(Identifier) "(" NOutputGateItems { ($1, fromMaybe "" $2, fst $4, snd $4) } : DelayControlOrNil opt(Identifier) "(" NOutputGateItems { ($1, fromMaybe "" $2, fst $4, snd $4) }
NOutputGateItems :: { ([LHS], Expr) } NOutputGateItems :: { ([LHS], Expr) }
: Expr ")" { ([], $1) } : Expr ")" { ([], $1) }
| Expr "," NOutputGateItems { (fst $3 ++ [toLHS $1], snd $3) } | Expr "," NOutputGateItems { (toLHS $1 : fst $3, snd $3) }
DelayControlOrNil :: { Expr } DelayControlOrNil :: { Expr }
: DelayControl { $1 } : DelayControl { $1 }
| {- empty -} { Nil } | {- empty -} { Nil }
......
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