diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-07-11 08:17:14 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-07-11 08:17:14 +0300 |
commit | 9e419cfbc401e9b9fd45c8e854fdf5ae799261d5 (patch) | |
tree | d73a710963075881315d841dd41dc01ed43a20dd /command.y | |
parent | c8b9f5d5ac4e23a394dc79eccbfb824ddee531ef (diff) | |
download | egawk-9e419cfbc401e9b9fd45c8e854fdf5ae799261d5.tar.gz egawk-9e419cfbc401e9b9fd45c8e854fdf5ae799261d5.tar.bz2 egawk-9e419cfbc401e9b9fd45c8e854fdf5ae799261d5.zip |
Some cleanup about checking letters and identifiers.
Diffstat (limited to 'command.y')
-rw-r--r-- | command.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'; } |