summaryrefslogtreecommitdiff
path: root/lib/assembler.c
diff options
context:
space:
mode:
authorPixel <>2001-04-15 16:25:17 +0000
committerPixel <>2001-04-15 16:25:17 +0000
commitfa7c1d14dfc9c3a41e46d71c8dce57b6b79c6ed1 (patch)
treeb1f3098abdd10f62645f652f82c434b15fcc3241 /lib/assembler.c
parent0b02702da077fcf2053eab6c7a4c449933da41fe (diff)
Bugfix
Diffstat (limited to 'lib/assembler.c')
-rw-r--r--lib/assembler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/assembler.c b/lib/assembler.c
index 0055680..5fc5928 100644
--- a/lib/assembler.c
+++ b/lib/assembler.c
@@ -1439,7 +1439,7 @@ static int evaluate_field(_TableauVariable it, char * field, field_t * fields) {
t = (expression_t *) NomVarToVar(fields->names[i], it, &trouve);
e = 0;
if (trouve) {
- if (t->e_subtype == E_VALUE) {
+ if (t->e_subtype != E_VALUE) {
exception(1, _("Can't evaluate directly expression"));
}
e = t->avalue;