/*****************************************************************************/
/* */
-/* error.c */
+/* error.c */
/* */
-/* Error handling for the ca65 macroassembler */
+/* Error handling for the ca65 macroassembler */
/* */
/* */
/* */
/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
/* Warning level */
-unsigned WarnLevel = 1;
+unsigned WarnLevel = 1;
/* Statistics */
-unsigned ErrorCount = 0;
-unsigned WarningCount = 0;
+unsigned ErrorCount = 0;
+unsigned WarningCount = 0;
/* Maximum number of additional notifications */
#define MAX_NOTES 8
const char* Msg;
switch (GetLineInfoType (LI)) {
+ case LI_TYPE_ASM:
+ Msg = "Expanded from here";
+ break;
+
case LI_TYPE_EXT:
Msg = "Assembler code generated from this line";
break;
/*****************************************************************************/
-/* Warnings */
+/* Warnings */
/*****************************************************************************/
/*****************************************************************************/
-/* Errors */
+/* Errors */
/*****************************************************************************/
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
exit (EXIT_FAILURE);
}
-
-
-