Skip to content

Commit e5452a2

Browse files
authored
rm cx (#6)
* rm cx * fix parsing
1 parent 29ac30b commit e5452a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ RBNF.@parser QASMLang begin
5353
uop = (inst | ugate | csemantic_gate)
5454
inst::Instruction := [name = id, ['(', [cargs = explist].?, ')'].?, qargs = bitlist, ';']
5555
ugate::UGate := [:U, '(', z1 = exp, ',', y = exp, ',', z2 = exp, ')', qarg = bit, ';']
56-
csemantic_gate::CXGate := [:CX | :cx, ctrl = bit, ',', qarg = bit, ';']
56+
csemantic_gate::CXGate := [:CX, ctrl = bit, ',', qarg = bit, ';']
5757

5858
idlist = @direct_recur begin
5959
init = [id]

0 commit comments

Comments
 (0)