mirror of
https://github.com/open-simh/simtools.git
synced 2026-05-05 23:34:15 +00:00
Remove dubious workaround in parse_unary().
The comment "eat first char of illegal label, else endless loop on implied .WORD" was no longer true. It did reveal some other small gotchas, which are corrected now as well.
This commit is contained in:
@@ -659,7 +659,7 @@ int do_word(
|
||||
} else {
|
||||
EX_TREE *value = parse_expr(cp, 0);
|
||||
|
||||
if (value->cp > cp) {
|
||||
if (value->type != EX_ERR && value->cp > cp) {
|
||||
store_value(stack, tr, size, value);
|
||||
|
||||
cp = value->cp;
|
||||
|
||||
Reference in New Issue
Block a user