From bd538cac8d9e2b2a38654827c626f1ce5dd2eff1 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sun, 14 May 2023 15:50:16 +0200 Subject: [PATCH] '$' is permitted in C identifiers. --- cweav-twill.ch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cweav-twill.ch b/cweav-twill.ch index f59809e5..23c288b2 100644 --- a/cweav-twill.ch +++ b/cweav-twill.ch @@ -1026,7 +1026,7 @@ new_meaning( { char *first=id_first; while (xisspace(*first)) first++; loc=first; - while (xisalpha(*loc)||xisdigit(*loc)||*loc=='_') loc++; + while (xisalpha(*loc)||xisdigit(*loc)||isxalpha(*loc)) loc++; if (*loc++!=' ') err_print(_("! Identifier in meaning should be followed by space")); else {@+ int n=0;