* src/SDCC.y (assignment_expr): fixed the grammer so that assignment
to a cast object is no longer a syntax error ("fixes" bug #
1030006,
and starts toward RFE #905167)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3500
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-09-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/hc08/gen.c (emitinline): fixed bug #1029778
+ * src/SDCC.y (assignment_expr): fixed the grammer so that assignment
+ to a cast object is no longer a syntax error ("fixes" bug #1030006,
+ and starts toward RFE #905167)
+
2004-09-17 Vangelis Rokas <vrokas AT otenet.gr>
* src/pic16/gen.c (mov2f): New function to move an operand to
assignment_expr
: conditional_expr
- | unary_expr assignment_operator assignment_expr
+ | cast_expr assignment_operator assignment_expr
{
switch ($2) {
if (*l=='#')
l++;
sym->isref = 1;
- if (!sym->allocreq && !sym->ismyparm)
+ if (sym->level && !sym->allocreq && !sym->ismyparm)
{
werror (E_ID_UNDEF, sym->name);
werror (W_CONTINUE,