support X and Z
This commit is contained in:
parent
39eb09941c
commit
34295e99f8
@ -233,12 +233,11 @@ const generate = cb => {
|
|||||||
.match(spaces, timeSpan.end(simulation))
|
.match(spaces, timeSpan.end(simulation))
|
||||||
.skipTo(simulationTime);
|
.skipTo(simulationTime);
|
||||||
|
|
||||||
// const onDigit = p.code.mulAdd('value', {base: 2, signed: false});
|
|
||||||
|
|
||||||
simulationVector
|
simulationVector
|
||||||
.select(
|
.select(
|
||||||
{0: 0, 1: 1, x: 2, z: 3},
|
{0: 0, 1: 1, x: 2, z: 3, X: 2, Z: 3},
|
||||||
p.invoke(
|
p.invoke(
|
||||||
|
// p.code.mulAdd('value', {base: 2, signed: false}),
|
||||||
p.code.value('onDigit'),
|
p.code.value('onDigit'),
|
||||||
{1: p.error(1, 'Content-Length overflow')},
|
{1: p.error(1, 'Content-Length overflow')},
|
||||||
simulationVector
|
simulationVector
|
||||||
|
Loading…
x
Reference in New Issue
Block a user