diff --git a/compiler/libpc300/sc3.c b/compiler/libpc300/sc3.c index e7bc320f..d9c482a6 100755 --- a/compiler/libpc300/sc3.c +++ b/compiler/libpc300/sc3.c @@ -852,8 +852,8 @@ static int hier14(value *lval1) assert(lval2.arrayidx==arrayidx2); for (i=0; iname); /* self-assignment */ + if (same) + error(226,lval3.sym->name); /* self-assignment */ } /* if */ } else { if (oper){