Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ Release notes:

Compiler: improved dictionary word matching accuracy.

Compiler: Improved ordering of strings in WRIT chunk, which
Compiler: improved ordering of strings in WRIT chunk, which
improves performance on slow platforms like 6502.

Debugger: fails more gracefully when given non-ASCII word
separators.

1c/03, Lib 1.2.4:

Language: CSS text-decoration: reverse has been replaced with
Expand Down
10 changes: 8 additions & 2 deletions src/debugger.c
Original file line number Diff line number Diff line change
Expand Up @@ -1445,13 +1445,13 @@ int debugger(int argc, char **argv) {
} else if(!strcmp(optarg, "none")) {
output_config.formatting = FORMAT_NEVER;
} else {
fprintf(stderr, "Unrecognized formatting style \"%s\"; valid styles are \"default\", \"ansi\", or \"none\"\n", optarg);
fprintf(stderr, "Error: Unrecognized formatting style \"%s\"; valid styles are \"default\", \"ansi\", or \"none\"\n", optarg);
return 1;
}
break;
default:
if(opt >= 0) {
fprintf(stderr, "Unimplemented option '%c'\n", opt);
fprintf(stderr, "Error: Unimplemented option '%c'\n", opt);
return 1;
}
break;
Expand Down Expand Up @@ -1488,6 +1488,12 @@ int debugger(int argc, char **argv) {
}

if(wordseps) {
for(i = 0; wordseps[i]; i++) { // We can't handle them yet, but we can at least fail gracefully
if(wordseps[i] > 0x7f) {
report(LVL_ERR, 0, "The debugger does not currently support non-ASCII --word-seps");
exit(1);
}
}
prepare_wordseps(wordseps);
free(wordseps);
} else {
Expand Down
Binary file removed src/dgdebug.wasm
Binary file not shown.
Loading