Skip to content

Commit 646cb49

Browse files
committed
CHANGE: using same error type for to-issue "a a" and to-issue "a^Aa"
1 parent 6649047 commit 646cb49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/t-word.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
bp = Qualify_String(arg, 255, &len, TRUE);
106106
if (type == REB_ISSUE) sym = Scan_Issue(bp, len);
107107
else sym = Scan_Word(bp, len);
108-
if (!sym) Trap1(RE_BAD_CHAR, arg);
108+
if (!sym) Trap0(RE_INVALID_CHARS);
109109
}
110110
else if (IS_CHAR(arg)) {
111111
REBYTE buf[8] = {0};

0 commit comments

Comments
 (0)