TSD PIC port
[fw/sdcc] / src / pic / glue.c
index f06e3467888d3f1c21d614feb69d70b870242e06..59d53c9e8e7ba40cce5ae6b5df3fd29f8b3e9512 100644 (file)
@@ -191,7 +191,7 @@ static void pic14emitRegularMap (memmap * map, bool addPublics, bool arFlag)
            if (IS_AGGREGATE (sym->type))
                ival = initAggregates (sym, sym->ival, NULL);
            else
-               ival = newNode ('=', newAst (EX_VALUE, symbolVal (sym)),
+               ival = newNode ('=', newAst_VALUE(symbolVal (sym)),
                                decorateType (resolveSymbols (list2expr (sym->ival))));
            codeOutFile = statsg->oFile;
            eBBlockFromiCode (iCodeFromAst (ival));