Skip to content
Browse files
More work on multiple error messages.
Removed all the FAIL/NOFAIL nastiness, and let errors flow through.

Some of these changes are really dicey, especially in the assembler. We'll see
 what bugs show up now.
  • Loading branch information
icculus committed Feb 3, 2009
1 parent 9fe02f4 commit 7c240118737ae63314c99a2ea505e5921df6fa70

File 3 of 3 in 7c24011

@@ -83,11 +83,6 @@ typedef int32_t int32;

#define STATICARRAYLEN(x) ( (sizeof ((x))) / (sizeof ((x)[0])) )

// Special-case return values from the parsing pipeline...
#define FAIL (-1)
#define NOFAIL (-2)
#define END_OF_STREAM (-3)

// Byteswap magic...

@@ -269,7 +264,14 @@ typedef enum
} MOJOSHADER_parsePhase;

extern MOJOSHADER_parseData out_of_mem_data;
extern const char *out_of_mem_str;

typedef struct ErrorList
MOJOSHADER_error error;
struct ErrorList *next;
} ErrorList;


0 comments on commit 7c24011

Please sign in to comment.