diff options
Diffstat (limited to 'compiler_and_linker/FrontEnd/C/CPrep.c')
-rw-r--r-- | compiler_and_linker/FrontEnd/C/CPrep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler_and_linker/FrontEnd/C/CPrep.c b/compiler_and_linker/FrontEnd/C/CPrep.c index cf2a4cd..a2ac9e2 100644 --- a/compiler_and_linker/FrontEnd/C/CPrep.c +++ b/compiler_and_linker/FrontEnd/C/CPrep.c @@ -2836,13 +2836,13 @@ static void pragma_on_off_reset(UInt32 bits) { macrocheck = 1; if ((bits & OPT_OFFSET_MASK) == OPT_OFFSET(cfm_internal)) - imex_flags = OBJECT_FLAGS_10; + imex_flags = OBJECT_INTERNAL; else if ((bits & OPT_OFFSET_MASK) == OPT_OFFSET(cfm_import)) - imex_flags = OBJECT_FLAGS_20; + imex_flags = OBJECT_IMPORT; else if ((bits & OPT_OFFSET_MASK) == OPT_OFFSET(cfm_export)) - imex_flags = OBJECT_FLAGS_40; + imex_flags = OBJECT_EXPORT; else if ((bits & OPT_OFFSET_MASK) == OPT_OFFSET(cfm_lib_export)) - imex_flags = OBJECT_FLAGS_60; + imex_flags = OBJECT_LIB_EXPORT; else CError_FATAL(3610); CPrep_PragmaImExport(imex_flags); @@ -2952,7 +2952,7 @@ static void CPrep_PragmaUnused(void) { list = CScope_GetLocalObject(nspace, tkidentifier); if (list && list->object->otype == OT_OBJECT && OBJECT(list->object)->datatype == DLOCAL) { - OBJECT(list->object)->flags = OBJECT(list->object)->flags | OBJECT_FLAGS_1; + OBJECT(list->object)->flags = OBJECT(list->object)->flags | OBJECT_USED; if (notendofline()) { t = plex(); if (t == ')') @@ -3157,7 +3157,7 @@ static void pragma_overload(void) { if ((obj = CParser_ParseObject())) { if (obj->sclass && obj->sclass != 0x103) CPrep_Error(CErrorStr177); - obj->qual |= Q_OVERLOAD; + obj->qual |= Q_WEAK; } else { CPrep_Error(CErrorStr186); } |