Use UTF-8 for diagnostic output if it is available. Added a command line
switch --no-utf8 to disable the use of UTF-8 characters.
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
/* ca65 */
|
||||
#include "condasm.h"
|
||||
#include "error.h"
|
||||
#include "expect.h"
|
||||
#include "expr.h"
|
||||
#include "macro.h"
|
||||
#include "nexttok.h"
|
||||
@@ -287,9 +288,9 @@ static long DoStructInternal (long Offs, unsigned Type)
|
||||
|
||||
/* End of struct/union definition */
|
||||
if (Type == STRUCT) {
|
||||
Consume (TOK_ENDSTRUCT, "Expected '.ENDSTRUCT'");
|
||||
Consume (TOK_ENDSTRUCT, "Expected `.ENDSTRUCT'");
|
||||
} else {
|
||||
Consume (TOK_ENDUNION, "Expected '.ENDUNION'");
|
||||
Consume (TOK_ENDUNION, "Expected `.ENDUNION'");
|
||||
}
|
||||
|
||||
/* Return the size of the struct */
|
||||
|
||||
Reference in New Issue
Block a user