static void cbmsys (const char* sys)
/* Define a CBM system */
{
- AddNumericMacro ("__CBM__", 1);
- AddNumericMacro (sys, 1);
+ DefineNumericMacro ("__CBM__", 1);
+ DefineNumericMacro (sys, 1);
}
break;
case TGT_ATARI:
- AddNumericMacro ("__ATARI__", 1);
+ DefineNumericMacro ("__ATARI__", 1);
break;
case TGT_C64:
break;
case TGT_BBC:
- AddNumericMacro ("__BBC__", 1);
+ DefineNumericMacro ("__BBC__", 1);
break;
case TGT_APPLE2:
- AddNumericMacro ("__APPLE2__", 1);
+ DefineNumericMacro ("__APPLE2__", 1);
break;
case TGT_GEOS:
/* Do not handle as a CBM system */
- AddNumericMacro ("__GEOS__", 1);
+ DefineNumericMacro ("__GEOS__", 1);
break;
default:
InvDef (Def);
}
/* No value given. Define the macro with the value 1 */
- AddNumericMacro (Def, 1);
- } else {
+ DefineNumericMacro (Def, 1);
+ } else {
/* We have a value, P points to the '=' character. Since the argument
* is const, create a copy and replace the '=' in the copy by a zero
* terminator.
*Q++ = '\0';
/* Define this as a macro */
- AddTextMacro (S, Q);
+ DefineTextMacro (S, Q);
/* Release the allocated memory */
xfree (S);
static void OptListOptSteps (const char* Opt, const char* Arg)
/* List all optimizer steps */
-{
+{
/* List the optimizer steps */
- ListOptSteps (stdout);
-
+ ListOptSteps (stdout);
+
/* Terminate */
exit (EXIT_SUCCESS);
}