Fixed the last few of the channel uses to request abbreviations of channels when using them
This commit is contained in:
parent
e0bec17672
commit
e79fa43fa2
|
@ -1549,7 +1549,7 @@ cgenOutputCase c tag ois
|
||||||
A.Chan _ (A.UserProtocol n) -> n
|
A.Chan _ (A.UserProtocol n) -> n
|
||||||
A.ChanEnd _ _ (A.UserProtocol n) -> n
|
A.ChanEnd _ _ (A.UserProtocol n) -> n
|
||||||
tell ["ChanOutInt(wptr,"]
|
tell ["ChanOutInt(wptr,"]
|
||||||
call genVariable c A.Original
|
call genVariable c A.Abbrev
|
||||||
tell [","]
|
tell [","]
|
||||||
genName tag
|
genName tag
|
||||||
tell ["_"]
|
tell ["_"]
|
||||||
|
@ -1731,7 +1731,7 @@ cgenAlt isPri s
|
||||||
tell [");\n"]
|
tell [");\n"]
|
||||||
_ ->
|
_ ->
|
||||||
do tell ["AltEnableChannel (wptr,", id, "++,"]
|
do tell ["AltEnableChannel (wptr,", id, "++,"]
|
||||||
call genVariable c A.Original
|
call genVariable c A.Abbrev
|
||||||
tell [");\n"]
|
tell [");\n"]
|
||||||
|
|
||||||
genAltDisable :: String -> A.Structured A.Alternative -> CGen ()
|
genAltDisable :: String -> A.Structured A.Alternative -> CGen ()
|
||||||
|
@ -1751,7 +1751,7 @@ cgenAlt isPri s
|
||||||
tell [");\n"]
|
tell [");\n"]
|
||||||
_ ->
|
_ ->
|
||||||
do tell ["AltDisableChannel (wptr,", id, "++, "]
|
do tell ["AltDisableChannel (wptr,", id, "++, "]
|
||||||
call genVariable c A.Original
|
call genVariable c A.Abbrev
|
||||||
tell [");\n"]
|
tell [");\n"]
|
||||||
|
|
||||||
genAltProcesses :: String -> String -> String -> A.Structured A.Alternative -> CGen ()
|
genAltProcesses :: String -> String -> String -> A.Structured A.Alternative -> CGen ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user