mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-10 05:29:48 +00:00
ranged/count-based ;l listings
This commit is contained in:
parent
69cd091397
commit
ccd3273ff0
@ -182,6 +182,16 @@ stmt ::= expr(a) SEMIL EOL.
|
|||||||
Debug::List(a);
|
Debug::List(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stmt ::= expr(a) AT expr(b) SEMIL EOL.
|
||||||
|
{
|
||||||
|
Debug::List(a, (int)b);
|
||||||
|
}
|
||||||
|
|
||||||
|
stmt ::= expr(a) COLON expr(b) SEMIL EOL.
|
||||||
|
{
|
||||||
|
Debug::List(a, b);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
stmt ::= DREGISTER(a) EQ expr(b) EOL.
|
stmt ::= DREGISTER(a) EQ expr(b) EOL.
|
||||||
{
|
{
|
||||||
@ -232,6 +242,7 @@ unary(rhs) ::= BANG unary(a). { rhs = !a; }
|
|||||||
unary(rhs) ::= STAR unary(a). [BANG] { rhs = Debug::ReadLong(a); }
|
unary(rhs) ::= STAR unary(a). [BANG] { rhs = Debug::ReadLong(a); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
term(rhs) ::= LPAREN expr(a) RPAREN. { rhs = a; }
|
term(rhs) ::= LPAREN expr(a) RPAREN. { rhs = a; }
|
||||||
term(rhs) ::= INTEGER(a). { rhs = a; }
|
term(rhs) ::= INTEGER(a). { rhs = a; }
|
||||||
term(rhs) ::= DREGISTER(a). { rhs = cpuGetDReg(a); }
|
term(rhs) ::= DREGISTER(a). { rhs = cpuGetDReg(a); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user