enabled !while and new warning about parentheses

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@197 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2020-05-28 18:43:49 +00:00
parent dddf3f3d10
commit 2ad075911b
2 changed files with 2 additions and 8 deletions

View File

@ -579,10 +579,8 @@ static void get_int_arg(struct number *result, boolean complain_about_indirect)
ALU_addrmode_int(&expression, 0); // accept 0 parentheses still open (-> complain!)
if (expression.is_parenthesized && complain_about_indirect) {
if (config.test_new_features) {
// TODO - raise error and be done with it?
Throw_first_pass_warning("There are unneeded parentheses, you know indirect addressing is impossible here, right?"); // FIXME - rephrase!
}
// TODO - raise error and be done with it?
Throw_first_pass_warning("There are unneeded parentheses, you know indirect addressing is impossible here, right?"); // FIXME - rephrase? add to docs!
}
*result = expression.result.u.number;
}

View File

@ -1110,10 +1110,6 @@ static enum eos po_while(void) // now GotByte = illegal char
{
struct do_while loop;
if (!config.test_new_features) {
Throw_error(exception_unknown_pseudo_opcode);
return SKIP_REMAINDER;
}
// read condition to buffer
SKIPSPACE();
flow_store_while_condition(&loop.head_cond); // must be freed!