Skip to content

Commit

Permalink
CHANGE: using same error type for to-issue "a a" and to-issue "a^Aa"
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Sep 6, 2022
1 parent 6649047 commit 646cb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/t-word.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
bp = Qualify_String(arg, 255, &len, TRUE);
if (type == REB_ISSUE) sym = Scan_Issue(bp, len);
else sym = Scan_Word(bp, len);
if (!sym) Trap1(RE_BAD_CHAR, arg);
if (!sym) Trap0(RE_INVALID_CHARS);
}
else if (IS_CHAR(arg)) {
REBYTE buf[8] = {0};
Expand Down

0 comments on commit 646cb49

Please sign in to comment.