Remove exclamation marks and periods from error messages (#1874)

This commit is contained in:
Rangi
2025-12-10 11:50:33 -05:00
committed by GitHub
parent 27dca5680c
commit 2666dcbc26
172 changed files with 198 additions and 197 deletions

View File

@@ -490,7 +490,7 @@ static void verboseOutputConfig() {
fputs("\tGenerate phony dependencies\n", stderr);
}
}
fputs("Ready.\n", stderr);
fputs("Ready for assembly\n", stderr);
style_Reset(stderr);
}

View File

@@ -587,7 +587,7 @@ static uint32_t anonLabelID = 0;
Symbol *sym_AddAnonLabel() {
if (anonLabelID == UINT32_MAX) {
// LCOV_EXCL_START
error("Only %" PRIu32 " anonymous labels can be created!", anonLabelID);
error("Only %" PRIu32 " anonymous labels can be created", anonLabelID);
return nullptr;
// LCOV_EXCL_STOP
}

View File

@@ -90,7 +90,7 @@ static void incrementErrors() {
style_Set(stderr, STYLE_RED, true);
fprintf(
stderr,
"Assembly aborted after the maximum of %" PRIu64 " error%s!",
"Assembly aborted after the maximum of %" PRIu64 " error%s",
warnings.nbErrors,
warnings.nbErrors == 1 ? "" : "s"
);
@@ -136,7 +136,7 @@ void requireZeroErrors() {
style_Set(stderr, STYLE_RED, true);
fprintf(
stderr,
"Assembly aborted with %" PRIu64 " error%s!\n",
"Assembly aborted with %" PRIu64 " error%s\n",
warnings.nbErrors,
warnings.nbErrors == 1 ? "" : "s"
);

View File

@@ -126,7 +126,7 @@ static uint16_t readNumber(char const *&str, char const *errPrefix, uint16_t err
error("%s: expected number, but found nothing", errPrefix);
return errVal;
} else if (*number > UINT16_MAX) {
error("%s: the number is too large!", errPrefix);
error("%s: the number is too large", errPrefix);
return errVal;
} else {
return *number;
@@ -239,7 +239,7 @@ static void parseArg(int ch, char *arg) {
case 'L':
options.inputSlice.left = readNumber(argPtr, "Input slice left coordinate");
if (options.inputSlice.left > INT16_MAX) {
error("Input slice left coordinate is out of range!");
error("Input slice left coordinate is out of range");
break;
}
skipBlankSpace(argPtr);
@@ -260,7 +260,7 @@ static void parseArg(int ch, char *arg) {
options.inputSlice.width = readNumber(argPtr, "Input slice width");
skipBlankSpace(argPtr);
if (options.inputSlice.width == 0) {
error("Input slice width may not be 0!");
error("Input slice width may not be 0");
}
if (*argPtr != ',') {
error("Missing comma after width in \"%s\"", arg);
@@ -270,7 +270,7 @@ static void parseArg(int ch, char *arg) {
skipBlankSpace(argPtr);
options.inputSlice.height = readNumber(argPtr, "Input slice height");
if (options.inputSlice.height == 0) {
error("Input slice height may not be 0!");
error("Input slice height may not be 0");
}
if (*argPtr != '\0') {
error("Unexpected extra characters after slice spec in \"%s\"", arg);
@@ -330,9 +330,9 @@ static void parseArg(int ch, char *arg) {
error("Number of palettes ('-n') must be a valid number, not \"%s\"", arg);
}
if (number > 256) {
error("Number of palettes ('-n') must not exceed 256!");
error("Number of palettes ('-n') must not exceed 256");
} else if (number == 0) {
error("Number of palettes ('-n') may not be 0!");
error("Number of palettes ('-n') may not be 0");
} else {
options.nbPalettes = number;
}
@@ -388,9 +388,9 @@ static void parseArg(int ch, char *arg) {
error("Palette size ('-s') must be a valid number, not \"%s\"", arg);
}
if (options.nbColorsPerPal > 4) {
error("Palette size ('-s') must not exceed 4!");
error("Palette size ('-s') must not exceed 4");
} else if (options.nbColorsPerPal == 0) {
error("Palette size ('-s') may not be 0!");
error("Palette size ('-s') may not be 0");
}
break;
@@ -608,7 +608,7 @@ static void verboseOutputConfig() {
if (localOptions.reverse) {
fprintf(stderr, "\tReverse image width: %" PRIu16 " tiles\n", options.reversedWidth);
}
fputs("Ready.\n", stderr);
fputs("Ready for conversion\n", stderr);
style_Reset(stderr);
}

View File

@@ -132,15 +132,15 @@ struct Image {
// Validate input slice
if (options.inputSlice.width == 0 && png.width % 8 != 0) {
fatal("Image width (%" PRIu32 " pixels) is not a multiple of 8!", png.width);
fatal("Image width (%" PRIu32 " pixels) is not a multiple of 8", png.width);
}
if (options.inputSlice.height == 0 && png.height % 8 != 0) {
fatal("Image height (%" PRIu32 " pixels) is not a multiple of 8!", png.height);
fatal("Image height (%" PRIu32 " pixels) is not a multiple of 8", png.height);
}
if (options.inputSlice.right() > png.width || options.inputSlice.bottom() > png.height) {
error(
"Image slice ((%" PRIu16 ", %" PRIu16 ") to (%" PRIu32 ", %" PRIu32
")) is outside the image bounds (%" PRIu32 "x%" PRIu32 ")!",
")) is outside the image bounds (%" PRIu32 "x%" PRIu32 ")",
options.inputSlice.left,
options.inputSlice.top,
options.inputSlice.right(),
@@ -319,7 +319,7 @@ static void generatePalSpec(Image const &image) {
// Generate a palette spec from the first few colors in the embedded palette
std::vector<Rgba> const &embPal = image.png.palette;
if (embPal.empty()) {
fatal("\"-c embedded\" was given, but the PNG does not have an embedded palette!");
fatal("\"-c embedded\" was given, but the PNG does not have an embedded palette");
}
// Ignore extraneous colors if they are unused
@@ -821,7 +821,7 @@ static UniqueTiles dedupTiles(
if (inputWithoutOutput && matchType == TileData::NOPE) {
error(
"Tile at (%" PRIu32 ", %" PRIu32
") is not within the input tileset, and '-o' was not given!",
") is not within the input tileset, and '-o' was not given",
tile.x,
tile.y
);
@@ -973,7 +973,7 @@ void process() {
if (tileColors.size() > options.maxOpaqueColors()) {
fatal(
"Tile at (%" PRIu32 ", %" PRIu32 ") has %zu colors, more than %" PRIu8 "!",
"Tile at (%" PRIu32 ", %" PRIu32 ") has %zu colors, more than %" PRIu8,
tile.x,
tile.y,
tileColors.size(),
@@ -1001,7 +1001,7 @@ void process() {
continue;
}
fatal(
"Tile (%" PRIu32 ", %" PRIu32 ") contains the background color (#%08x)!",
"Tile (%" PRIu32 ", %" PRIu32 ") contains the background color (#%08x)",
tile.x,
tile.y,
options.bgColor->toCSS()

View File

@@ -112,15 +112,15 @@ void reverse() {
// Check for weird flag combinations
if (options.output.empty()) {
fatal("Tile data must be provided when reversing an image!");
fatal("Tile data must be provided when reversing an image");
}
if (options.allowDedup && options.tilemap.empty()) {
warnx("Tile deduplication is enabled, but no tilemap is provided?");
warnx("Tile deduplication is enabled, but no tilemap is provided");
}
if (options.useColorCurve) {
warnx("The color curve is not yet supported in reverse mode...");
warnx("The color curve is not yet supported in reverse mode");
}
if (options.inputSlice.left != 0 || options.inputSlice.top != 0
@@ -149,13 +149,13 @@ void reverse() {
// By default, assume tiles are not deduplicated, and add the (allegedly) trimmed tiles
size_t const nbTiles = tiles.size() / tileSize;
verbosePrint(VERB_INFO, "Read %zu tiles.\n", nbTiles);
verbosePrint(VERB_INFO, "Read %zu tiles\n", nbTiles);
size_t mapSize = nbTiles + options.trim; // Image size in tiles
std::optional<std::vector<uint8_t>> tilemap;
if (!options.tilemap.empty()) {
tilemap = readInto(options.tilemap);
mapSize = tilemap->size();
verbosePrint(VERB_INFO, "Read %zu tilemap entries.\n", mapSize);
verbosePrint(VERB_INFO, "Read %zu tilemap entries\n", mapSize);
}
if (mapSize == 0) {
@@ -224,7 +224,7 @@ void reverse() {
break;
} else if (nbRead != buf.size()) {
fatal(
"Palette data size (%zu) is not a multiple of %zu bytes!\n",
"Palette data size (%zu) is not a multiple of %zu bytes\n",
palettes.size() * buf.size() + nbRead,
buf.size()
);
@@ -250,7 +250,7 @@ void reverse() {
}
if (options.palSpecType == Options::EXPLICIT && palettes != options.palSpec) {
warnx("Colors in the palette file do not match those specified with '-c'!");
warnx("Colors in the palette file do not match those specified with '-c'");
// This spacing aligns "...versus with `-c`" above the column of `-c` palettes
fputs("Colors specified in the palette file: ...versus with '-c':\n", stderr);
for (size_t i = 0; i < palettes.size() && i < options.palSpec.size(); ++i) {
@@ -272,7 +272,7 @@ void reverse() {
}
} else if (options.palSpecType == Options::EMBEDDED) {
warnx("An embedded palette was requested, but no palette file was specified; ignoring "
"request.");
"request");
} else if (options.palSpecType == Options::EXPLICIT) {
palettes = std::move(options.palSpec); // We won't be using it again.
}
@@ -299,7 +299,8 @@ void reverse() {
if (uint8_t palID = (attr & 0b111) - options.basePalID; palID > palettes.size()) {
error(
"Attribute map references palette #%u at (%zu, %zu), but there are only %zu!",
"Attribute map references palette #%u at (%zu, %zu), but there are only %zu "
"palettes",
palID,
tx,
ty,

View File

@@ -407,7 +407,7 @@ static void verboseOutputConfig() {
}
// -n/--sym
printPath("Output sym file", options.symFileName);
fputs("Ready.\n", stderr);
fputs("Ready for linking\n", stderr);
style_Reset(stderr);
}

View File

@@ -452,7 +452,7 @@ void obj_ReadFile(std::string const &filePath, size_t fileID) {
// A single `ungetc` is guaranteed to work.
switch (ungetc(getc(file), file)) {
case EOF:
fatal("File \"%s\" is empty!", fileName);
fatal("File \"%s\" is empty", fileName);
case 'X':
case 'D':

View File

@@ -296,7 +296,7 @@ void sdobj_ReadFile(FileStackNode const &src, FILE *file, std::vector<Symbol> &f
if (tmp > UINT16_MAX) {
fatalAt(
where,
"Area \"%s\" is larger than the GB address space!?",
"Area \"%s\" is larger than the GB address space",
curSection->name.c_str()
);
}

View File

@@ -1,3 +1,3 @@
error: The absolute alignment offset (2) must be less than alignment size (2)
at align-large-ofs.asm(2)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Alignment must be between 0 and 16, not 17
at align-large.asm(1)
error: Alignment must be between 0 and 16, not 17
at align-large.asm(2)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -2,4 +2,4 @@ error: The absolute alignment offset (18) must be less than alignment size (16)
at align-offset.asm(4)
error: The absolute alignment offset (20) must be less than alignment size (16)
at align-offset.asm(6)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Cannot output data outside of a `SECTION`
at align-pc-outside-section.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Section "X"'s alignment cannot be attained in WRAM0
at align-unattainable.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -8,4 +8,4 @@ error: syntax error, unexpected anonymous label, expecting symbol or label or lo
at anon-label-bad.asm(10)
error: syntax error, unexpected ::
at anon-label-bad.asm(22)
Assembly aborted with 5 errors!
Assembly aborted with 5 errors

View File

@@ -1,3 +1,3 @@
error: PC has no bank outside of a section
at assert-nosect-bank.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: PC has no value outside of a section
at assert@-no-sect.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Fixed-point precision must be between 1 and 31, not 42
at bad-precision.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -20,4 +20,4 @@ error: Expected constant expression: `Label_u12`'s bank is not known
at bank.asm::def_sect(8) <- bank.asm(22)
error: `BANK` argument must be a label
at bank.asm(26)
Assembly aborted with 11 errors!
Assembly aborted with 11 errors

View File

@@ -2,4 +2,4 @@ error: Unterminated block comment
at block-comment-termination-error.asm(1)
error: syntax error, unexpected end of buffer
at block-comment-termination-error.asm(1)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Invalid character '2' after line continuation
at blue-paint-limits.asm::nth(40) <- blue-paint-limits.asm(43)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -10,4 +10,4 @@ error: Macro argument `\<2>` not defined
at bracketed-macro-args.asm::bad(30) <- bracketed-macro-args.asm(33)
error: Bracketed symbol `abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz` does not exist
at bracketed-macro-args.asm::toolong(36) <- bracketed-macro-args.asm(39)
Assembly aborted with 6 errors!
Assembly aborted with 6 errors

View File

@@ -4,4 +4,4 @@ error: `Label` does not have a constant value
at bracketed-symbols.asm(20)
error: PC does not have a constant value; the current section is not fixed
at bracketed-symbols.asm(21)
Assembly aborted with 3 errors!
Assembly aborted with 3 errors

View File

@@ -54,4 +54,4 @@ error: Built-in symbol `__ISO_8601_UTC__` cannot be redefined
at builtin-overwrite.asm::tickle(29) <- builtin-overwrite.asm(37)
error: Built-in symbol `__ISO_8601_UTC__` cannot be redefined
at builtin-overwrite.asm::tickle(30) <- builtin-overwrite.asm(37)
Assembly aborted with 28 errors!
Assembly aborted with 28 errors

View File

@@ -30,4 +30,4 @@ error: `.` is reserved for a built-in symbol
at builtin-reserved.asm(29)
error: `.` has no value outside of a label scope
at builtin-reserved.asm(32)
Assembly aborted with 16 errors!
Assembly aborted with 16 errors

View File

@@ -2,4 +2,4 @@ error: Illegal character escape '\' at end of input
at character-escape-at-end.asm(1)
error: Unterminated string
at character-escape-at-end.asm(1)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -4,4 +4,4 @@ error: Invalid character '\' in bracketed macro argument
at character-escapes.asm::m(7) <- character-escapes.asm(10)
error: Invalid character '\t' in bracketed macro argument
at character-escapes.asm::m(8) <- character-escapes.asm(10)
Assembly aborted with 3 errors!
Assembly aborted with 3 errors

View File

@@ -16,4 +16,4 @@ error: Unterminated character
at character-literals.asm(35)
error: Character literals must be a single charmap unit
at character-literals.asm(35)
Assembly aborted with 5 errors!
Assembly aborted with 5 errors

View File

@@ -2,4 +2,4 @@ error: Cannot map an empty string
at charmap-empty.asm(1)
error: syntax error, unexpected end of line
at charmap-empty.asm(2)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Undefined base charmap `eggs`
at charmap-inheritance.asm(26)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -6,4 +6,4 @@ error: CHARSIZE: No character mapping for "abcdef"
at charsize.asm(19)
error: CHARSIZE: No character mapping for "é"
at charsize.asm(20)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -12,4 +12,4 @@ warning: CHARVAL: Index starts at 0 [-Wbuiltin-args]
at charval.asm(28)
warning: CHARVAL: Index 10 is past the end of the character mapping [-Wbuiltin-args]
at charval.asm(29)
Assembly aborted with 5 errors!
Assembly aborted with 5 errors

View File

@@ -2,4 +2,4 @@ error: `FOO` already defined (should it be {interpolated} to define its contents
at command-line-symbols.asm(3)
and also:
at <command-line>
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Expected constant expression: undefined symbol `UnDeFiNeD`
at compound-assignment.asm(35)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -6,4 +6,4 @@ error: Expected constant expression: PC is not constant at assembly time
at const-and.asm(17)
error: Expected constant expression: `Floating` is not constant at assembly time
at const-and.asm(20)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -2,4 +2,4 @@ error: Expected constant expression: `Gamma` is not constant at assembly time
at const-low.asm(10)
error: Assertion failed
at const-low.asm(10)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Assertion failed
at const-not.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Expected constant expression: PC is not constant at assembly time
at const-zero.asm::test_or(14) <- const-zero.asm(21)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Section "code" cannot contain code or data (not `ROM0` or `ROMX`)
at data-in-ram.asm(2)
error: Section "data" cannot contain code or data (not `ROM0` or `ROMX`)
at data-in-ram.asm(4)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -4,4 +4,4 @@ error: syntax error, unexpected local label, expecting symbol
at def-scoped.asm(13)
error: syntax error, unexpected local label, expecting symbol
at def-scoped.asm(16)
Assembly aborted with 3 errors!
Assembly aborted with 3 errors

View File

@@ -14,4 +14,4 @@ error: `name` already defined (should it be {interpolated} to define its content
at def.asm(42)
and also:
at def.asm(40)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -52,4 +52,4 @@ warning: STRSUB: Position 12 is past the end of the string [-Wbuiltin-args]
at deprecated-functions.asm(28)
error: STRSUB: Incomplete UTF-8 character
at deprecated-functions.asm(28)
Assembly aborted with 6 errors!
Assembly aborted with 6 errors

View File

@@ -2,4 +2,4 @@ error: syntax error, unexpected '-' at the beginning of the line (is it a leftov
at diff-marks.asm(2)
error: syntax error, unexpected '+' at the beginning of the line (is it a leftover diff mark?)
at diff-marks.asm(3)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: syntax error, unexpected local label, expecting symbol
at dots-constant.asm(2)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Undefined symbol `n` was already purged
at double-purge.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Expected constant expression: undefined symbol `unknown`
at ds-bad.asm(3)
warning: Expression must be 8-bit; use `LOW()` to force 8-bit [-Wtruncation]
at ds-bad.asm(4)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Invalid character '?' in bracketed macro argument
at empty-raw-identifier.asm::macro(3) <- empty-raw-identifier.asm(5)
error: Empty raw symbol in bracketed macro argument
at empty-raw-identifier.asm::macro(3) <- empty-raw-identifier.asm(5)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -2,4 +2,4 @@ warning: `LOAD` block without `ENDL` terminated by `ENDSECTION` [-Wunterminated-
at endsection-in-load.asm(3)
error: Found `ENDL` outside of a `LOAD` block
at endsection-in-load.asm(4)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Cannot output data outside of a `SECTION`
at endsection.asm(4)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: `x` already defined
at error-limit.asm(2)
and also:
at error-limit.asm(1)
Assembly aborted after the maximum of 1 error! (configure with '-X/--max-errors')
Assembly aborted after the maximum of 1 error (configure with '-X/--max-errors')

View File

@@ -6,4 +6,4 @@ error: syntax error, unexpected symbol
at error-recovery.asm::REPT~2(7) <- error-recovery.asm(5)
error: syntax error, unexpected symbol
at error-recovery.asm::REPT~3(7) <- error-recovery.asm(5)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -1,3 +1,3 @@
error: syntax error, unexpected number
at expand-empty-string.asm::test(4) <- expand-empty-string.asm(6)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -9,4 +9,4 @@ warning: Purging an exported symbol `equ_sym` [-Wpurge]
at export.asm(20)
warning: Exporting an undefined symbol `equ_sym` [-Wexport-undefined]
at export.asm(21)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -4,4 +4,4 @@ error: Expected constant expression: undefined symbol `xyz`
at ff00+c-bad.asm(9)
error: Base value must be equal to $FF00 for [$FF00+C]
at ff00+c-bad.asm(9)
Assembly aborted with 3 errors!
Assembly aborted with 3 errors

View File

@@ -12,4 +12,4 @@ error: Section "OAM"'s fixed address $0cab is outside of range [$fe00; $fe9f]
at fixed-oob.asm(13)
error: Section "HRAM"'s fixed address $0bad is outside of range [$ff80; $fffe]
at fixed-oob.asm(15)
Assembly aborted with 7 errors!
Assembly aborted with 7 errors

View File

@@ -2,4 +2,4 @@ error: Fixed-point constant precision must be between 1 and 31
at fixed-point-precision.asm(22)
error: Fixed-point constant precision 0 invalid, defaulting to 16
at fixed-point-precision.asm(23)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -2,4 +2,4 @@ error: `y` already defined as constant
at for-loop-variable.asm(12)
and also:
at for-loop-variable.asm(8)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Fractional width 260 too long, limiting to 255
at format-truncation.asm(9)
error: Fractional width 260 too long, limiting to 255
at format-truncation.asm(15)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Section is misaligned ($0004 bytes into the section, expected ALIGN[2, 0], got ALIGN[2, 1])
at fragment-align.asm(25)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Invalid character 0xEB (is the file UTF-8?)
at garbage-before-eof.asm(1)
error: syntax error, unexpected end of buffer, expecting ? or symbol
at garbage-before-eof.asm(1)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Invalid character 0xFF (is the file UTF-8?)
at garbage_char.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -8,4 +8,4 @@ error: Invalid character '#'
at garbage_sequence.asm(3)
error: Invalid characters '#', 0xFF (is the file UTF-8?)
at garbage_sequence.asm(5)
Assembly aborted with 5 errors!
Assembly aborted with 5 errors

View File

@@ -1,3 +1,3 @@
error: `BANK` only allowed for `ROMX`, `WRAMX`, `SRAM`, or `VRAM` sections
at impossible-bank.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Specified range in `INCBIN` file "empty.bin" is out of bounds (0 + 1 > 0)
at incbin-empty-bad.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Cannot output data outside of a `SECTION`
at incbin-end-0.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Specified range in `INCBIN` file "data.bin" is out of bounds (123 + 1 > 123)
at incbin-end-bad.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Specified start position is greater than length of file "data.bin"
at incbin-start-bad.asm(3)
error: Specified start position is greater than length of file "data.bin"
at incbin-start-bad.asm(4)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Error opening pre-included file "include-slash-nonexist.inc": No such file or directory
at include-slash.asm(0)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -4,4 +4,4 @@ error: syntax error, unexpected symbol
error: syntax error, unexpected string
at interpolation-after-string.asm(8)
while expanding symbol `string`
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -7,4 +7,4 @@ error: `\1` cannot be used outside of a macro
at interpolation-overflow.asm(4)
error: syntax error, unexpected number
at interpolation-overflow.asm(4)
Assembly aborted with 3 errors!
Assembly aborted with 3 errors

View File

@@ -6,4 +6,4 @@ error: Interpolated symbol `foo` is not a numeric or string symbol
at interpolation.asm(29)
error: Interpolated symbol `xor` is a reserved keyword; add a '#' prefix to use it as a raw symbol
at interpolation.asm(32)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -12,4 +12,4 @@ error: Section "e"'s fixed address does not match its alignment
at invalid-alignment.asm(21)
error: Section "f"'s fixed address does not match its alignment
at invalid-alignment.asm(23)
Assembly aborted with 7 errors!
Assembly aborted with 7 errors

View File

@@ -1,3 +1,3 @@
error: VRAM bank value $0002 out of range ($0000 to $0001)
at invalid-bank.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -1,3 +1,3 @@
error: Empty bracketed macro argument
at invalid-empty-macro-arg.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -30,4 +30,4 @@ error: Formatting type 'd' with fractional width
at invalid-format.asm(17)
error: Formatting type 'd' with fractional precision
at invalid-format.asm(18)
Assembly aborted with 16 errors!
Assembly aborted with 16 errors

View File

@@ -32,4 +32,4 @@ error: syntax error, unexpected af
at invalid-instructions.asm(20)
error: syntax error, unexpected af
at invalid-instructions.asm(21)
Assembly aborted with 16 errors!
Assembly aborted with 16 errors

View File

@@ -1,3 +1,3 @@
error: `JR` target must be between -128 and 127 bytes away, not -258; use `JP` instead
at invalid-jr.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: Source address $11 not between $FF00 to $FFFF
at invalid-ldh.asm(2)
error: Source address $22 not between $FF00 to $FFFF
at invalid-ldh.asm(3)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -2,4 +2,4 @@ error: Invalid character '!' in bracketed macro argument
at invalid-macro-arg-character.asm(1)
error: syntax error, unexpected >
at invalid-macro-arg-character.asm(1)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Bracketed symbol `foo` does not exist
at invalid-macro-arg-symbol.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -24,4 +24,4 @@ error: Invalid fixed-point constant, no significant digits after 'q'
at invalid-numbers.asm::try(2) <- invalid-numbers.asm(26)
error: Fixed-point constant precision must be between 1 and 31
at invalid-numbers.asm::try(2) <- invalid-numbers.asm(29)
Assembly aborted with 7 errors!
Assembly aborted with 7 errors

View File

@@ -36,4 +36,4 @@ error: syntax error, unexpected end of line, expecting string
at invalid-opt.asm(18)
error: No entries in the option stack
at invalid-opt.asm(19)
Assembly aborted with 19 errors!
Assembly aborted with 19 errors

View File

@@ -28,4 +28,4 @@ error: Invalid integer constant, trailing '_'
at invalid-underscore.asm(31)
error: Invalid integer constant, '_' after another '_'
at invalid-underscore.asm(32)
Assembly aborted with 15 errors!
Assembly aborted with 15 errors

View File

@@ -6,4 +6,4 @@ error: `UNION`s must be inside a `SECTION`
at invalid-union.asm(3)
error: Unterminated `UNION` construct
at invalid-union.asm(7)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -56,4 +56,4 @@ error: STRLEN: Incomplete UTF-8 character
at invalid-utf-8-strings.asm(50)
error: STRSLICE: Incomplete UTF-8 character
at invalid-utf-8-strings.asm(54)
Assembly aborted with 29 errors!
Assembly aborted with 29 errors

View File

@@ -1,3 +1,3 @@
error: Invalid characters 0xCF, 0xD3 (is the file UTF-8?)
at invalid-utf-8.asm::m(4) <- invalid-utf-8.asm(6)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -10,4 +10,4 @@ error: Expected constant expression: `FloatingLabel` is not constant at assembly
at isconst.asm::test_expr(9) <- isconst.asm(28)
warning: Test #6: Compile-time constant [-Wuser]
at isconst.asm::test_expr(10) <- isconst.asm(29)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -1,3 +1,3 @@
error: Identifier "call.local2" begins with a keyword; did you mean to put a space between them?
at keyword-global.asm(3)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -34,4 +34,4 @@ error: Expected constant expression: undefined symbol `Unknown`
at label-diff.asm::print_diff(19) <- label-diff.asm(58)
error: Expected constant expression: PC is not constant at assembly time
at label-diff.asm::print_diff(20) <- label-diff.asm(58)
Assembly aborted with 18 errors!
Assembly aborted with 18 errors

View File

@@ -14,4 +14,4 @@ error: Invalid format spec "sizeof_"
at label-macro-arg.asm::test_char(29) <- label-macro-arg.asm(39)
error: Interpolated symbol `something` does not exist
at label-macro-arg.asm::test_char(29) <- label-macro-arg.asm(39)
Assembly aborted with 7 errors!
Assembly aborted with 7 errors

View File

@@ -1,3 +1,3 @@
error: Label `bad` created outside of a `SECTION`
at label-outside-section.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -2,4 +2,4 @@ error: `Sym` already defined
at label-redefinition.asm(7)
and also:
at label-redefinition.asm::m(4) <- label-redefinition.asm(6)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -38,4 +38,4 @@ warning: Treating strings as numbers is deprecated; use character literals or `C
at label-scope.asm(32)
error: Strings as numbers must be a single charmap unit
at label-scope.asm(32)
Assembly aborted with 18 errors!
Assembly aborted with 18 errors

View File

@@ -10,4 +10,4 @@ error: syntax error, unexpected ENDR
at lex-label.asm(7)
error: syntax error, unexpected label, expecting symbol
at lex-label.asm(9)
Assembly aborted with 6 errors!
Assembly aborted with 6 errors

View File

@@ -8,4 +8,4 @@ error: Undefined macro `undef` (did you mean a label "undef:"?)
at lexer-hack.asm(27)
error: Undefined macro `undef` (did you mean a label "undef::"?)
at lexer-hack.asm(28)
Assembly aborted with 4 errors!
Assembly aborted with 4 errors

View File

@@ -1,3 +1,3 @@
error: Invalid line continuation at end of file
at line-continuation-at-eof.asm(1)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -10,4 +10,4 @@ error: Invalid character '/' after line continuation
at line-continuation-block-comment.asm(14)
error: Invalid character '/' after line continuation
at line-continuation-block-comment.asm(17)
Assembly aborted with 6 errors!
Assembly aborted with 6 errors

View File

@@ -1,3 +1,3 @@
error: Label `foo` created outside of a `SECTION`
at line-continuation-whitespace.asm(7)
Assembly aborted with 1 error!
Assembly aborted with 1 error

View File

@@ -4,4 +4,4 @@ warning: spam [-Wuser]
at line-continuation.asm::spam(4) <- line-continuation.asm(6)
error: Label `foo` created outside of a `SECTION`
at line-continuation.asm(14)
Assembly aborted with 2 errors!
Assembly aborted with 2 errors

View File

@@ -2,4 +2,4 @@ warning: `LOAD` block without `ENDL` terminated by `LOAD` [-Wunterminated-load]
at load-in-load.asm(3)
error: Found `ENDL` outside of a `LOAD` block
at load-in-load.asm(5)
Assembly aborted with 1 error!
Assembly aborted with 1 error

Some files were not shown because too many files have changed in this diff Show More