aboutsummaryrefslogtreecommitdiffstats
path: root/command.y
diff options
context:
space:
mode:
Diffstat (limited to 'command.y')
-rw-r--r--command.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.y b/command.y
index 65d21853..0080c9b2 100644
--- a/command.y
+++ b/command.y
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2004, 2010, 2011, 2014, 2016
+ * Copyright (C) 2004, 2010, 2011, 2014, 2016, 2017
* the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
@@ -1288,7 +1288,7 @@ err:
|| c == ',' || c == '=')
return *lexptr++;
- if (c != '_' && ! is_alpha(c)) {
+ if (! is_letter(c)) {
yyerror(_("invalid character"));
return '\n';
}