style: rename spec_defines_file as spec_header_file

The variable spec_defines_file denotes the name of the generated
header.  Its name is derived from --defines/%defines, whose name in
turn is derived from the fact that the header, in Yacc, contained the

Not only does the header now contain a lot more than just the token
definitions, but we no longer even generate macros, but an enum...

Let's modernize our vocabulary.

* src/files.h, src/files.c (spec_defines_file): Rename as...
(spec_header_file): this.
This commit is contained in:
Akim Demaille
2019-03-16 10:05:51 +01:00
parent 4e19ab9fcd
commit 58ae95670b
10 changed files with 28 additions and 28 deletions

View File

@@ -2348,7 +2348,7 @@ yyreduce:
#line 313 "src/parse-gram.y" /* yacc.c:1652 */
{
defines_flag = true;
spec_defines_file = xstrdup ((yyvsp[0].STRING));
spec_header_file = xstrdup ((yyvsp[0].STRING));
}
#line 2354 "src/parse-gram.c" /* yacc.c:1652 */
break;