%scons; %builders-mod; %functions-mod; %tools-mod; %variables-mod; ]> Sets construction variables for the &yacc; parse generator. YACC YACCFLAGS YACCCOM YACCHFILESUFFIX YACCHXXFILESUFFIX YACCVCGFILESUFFIX YACCCOMSTR YACCFLAGS YACC_HEADER_FILE YACC_GRAPH_FILE The parser generator. The command line used to call the parser generator to generate a source file. The string displayed when generating a source file using the parser generator. If this is not set, then &cv-link-YACCCOM; (the command line) is displayed. env = Environment(YACCCOMSTR="Yacc'ing $TARGET from $SOURCES") General options passed to the parser generator. In addition to passing the value on during invocation, the &t-link-yacc; tool also examines this &consvar; for options which cause additional output files to be generated, and adds those to the target list. If a option is present, &scons; assumes that the call will also create a header file with the suffix defined by &cv-link-YACCHFILESUFFIX; if the yacc source file ends in a .y suffix, or a file with the suffix defined by &cv-link-YACCHXXFILESUFFIX; if the yacc source file ends in a .yy suffix. If a option is present, &scons; assumes that the call will also create a graph file with the suffix defined by &cv-link-YACCVCGFILESUFFIX;. If a option is present, &scons; assumes that the call will also create an output debug file with the suffix .output. Also recognized are GNU &bison; options and its deprecated synonym , which is similar to but the output filename is named by the option argument; and , which is similar to but the output filename is named by the option argument. Note that files specified by and may not be properly handled by &SCons; in all situations. Consider using &cv-link-YACC_HEADER_FILE; and &cv-link-YACC_GRAPH_FILE; instead. If supplied, generate a header file with the name taken from this variable. Will be emitted as a command-line option. Use this in preference to including in &cv-link-YACCFLAGS; directly. If supplied, write a graph of the automaton to a file with the name taken from this variable. Will be emitted as a command-line option. Use this in preference to including in &cv-link-YACCFLAGS; directly. The suffix of the C header file generated by the parser generator when the option is used. Note that setting this variable does not cause the parser generator to generate a header file with the specified suffix, it exists to allow you to specify what suffix the parser generator will use of its own accord. The default value is .h. The suffix of the C++ header file generated by the parser generator when the option is used. Note that setting this variable does not cause the parser generator to generate a header file with the specified suffix, it exists to allow you to specify what suffix the parser generator will use of its own accord. The default value is .hpp, except on Mac OS X, where the default is ${TARGET.suffix}.h. because the default &bison; parser generator just appends .h to the name of the generated C++ file. The suffix of the file containing the VCG grammar automaton definition when the option is used. Note that setting this variable does not cause the parser generator to generate a VCG file with the specified suffix, it exists to allow you to specify what suffix the parser generator will use of its own accord. The default value is .vcg.