mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-14 15:45:23 +00:00
Make 2 "invalid expression" messages more exolicit.
This commit is contained in:
parent
cb8103d112
commit
426db4afda
@ -413,7 +413,7 @@ static void store_complex(
|
||||
text_complex_begin(&tx); /* Open complex expression */
|
||||
|
||||
if (!complex_tree(&tx, value)) { /* Translate */
|
||||
report(refstr, "Invalid expression\n");
|
||||
report(refstr, "Invalid expression (complex relocation)\n");
|
||||
store_word(refstr, tr, size, 0);
|
||||
} else {
|
||||
list_word(refstr, DOT, 0, size, "C");
|
||||
@ -439,7 +439,7 @@ static void store_complex_displaced(
|
||||
text_complex_begin(&tx);
|
||||
|
||||
if (!complex_tree(&tx, value)) {
|
||||
report(refstr, "Invalid expression\n");
|
||||
report(refstr, "Invalid expression (complex displaced relocation)\n");
|
||||
store_word(refstr, tr, size, 0);
|
||||
} else {
|
||||
list_word(refstr, DOT, 0, size, "C");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user