aboutsummaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-09-15 23:14:23 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-09-15 23:14:23 +0300
commit7ac81efe10795318427ad71f9c05b9c93442acfb (patch)
tree96dd46e7af2199895fcfbdaaa88f388c1b4f56e4 /command.c
parent2323f97d55a79c302457d75443b2ffd529983083 (diff)
parentdc510090126eb27d2e0514f42a4da4863873903d (diff)
downloadegawk-7ac81efe10795318427ad71f9c05b9c93442acfb.tar.gz
egawk-7ac81efe10795318427ad71f9c05b9c93442acfb.tar.bz2
egawk-7ac81efe10795318427ad71f9c05b9c93442acfb.zip
Merge branch 'master' into comment, update ChangeLogs
Diffstat (limited to 'command.c')
-rw-r--r--command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/command.c b/command.c
index 2d4ccf8c..ad0dc372 100644
--- a/command.c
+++ b/command.c
@@ -2863,7 +2863,7 @@ again:
}
while (c != '\0' && c != ' ' && c != '\t') {
- if (! isalpha(c) && ! in_eval) {
+ if (! is_alpha(c) && ! in_eval) {
yyerror(_("invalid character in command"));
return '\n';
}
@@ -3031,12 +3031,12 @@ err:
|| c == ',' || c == '=')
return *lexptr++;
- if (c != '_' && ! isalpha(c)) {
+ if (c != '_' && ! is_alpha(c)) {
yyerror(_("invalid character"));
return '\n';
}
- while (isalnum(c) || c == '_')
+ while (is_identchar(c))
c = *++lexptr;
toklen = lexptr - tokstart;