mirror of
https://github.com/uffejakobsen/acme.git
synced 2025-01-11 13:30:15 +00:00
now "--test" enables "!while {}"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@137 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
5c459cad56
commit
2c104118eb
@ -968,6 +968,10 @@ static enum eos po_while(void) // now GotByte = illegal char
|
|||||||
{
|
{
|
||||||
struct do_while loop;
|
struct do_while loop;
|
||||||
|
|
||||||
|
if (!config.test_new_features) {
|
||||||
|
Throw_error("Unknown pseudo opcode.");
|
||||||
|
return SKIP_REMAINDER;
|
||||||
|
}
|
||||||
// read condition to buffer
|
// read condition to buffer
|
||||||
SKIPSPACE();
|
SKIPSPACE();
|
||||||
flow_store_while_condition(&loop.head_cond); // must be freed!
|
flow_store_while_condition(&loop.head_cond); // must be freed!
|
||||||
@ -1180,7 +1184,7 @@ static struct ronode pseudo_opcode_list[] = {
|
|||||||
PREDEFNODE("ifndef", po_ifndef),
|
PREDEFNODE("ifndef", po_ifndef),
|
||||||
PREDEFNODE("for", po_for),
|
PREDEFNODE("for", po_for),
|
||||||
PREDEFNODE("do", po_do),
|
PREDEFNODE("do", po_do),
|
||||||
// PREDEFNODE("while", po_while),
|
PREDEFNODE("while", po_while),
|
||||||
PREDEFNODE("macro", po_macro),
|
PREDEFNODE("macro", po_macro),
|
||||||
// PREDEFNODE("debug", po_debug),
|
// PREDEFNODE("debug", po_debug),
|
||||||
// PREDEFNODE("info", po_info),
|
// PREDEFNODE("info", po_info),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user