diff options
| author | Mats Wichmann <mats@linux.com> | 2023-03-23 15:28:54 (GMT) |
|---|---|---|
| committer | Mats Wichmann <mats@linux.com> | 2023-05-06 13:11:36 (GMT) |
| commit | 7ddeb166c05a68ebea9b4976373694337614c5ae (patch) | |
| tree | 1592cd776611e1f8ed3e263e0459d0b12967204d /test/Java/java_version_image/src5/TestSCons.java | |
| parent | fcb92c4ff1503ac0cf920d26f771b8f47386f4dc (diff) | |
| download | SCons-7ddeb166c05a68ebea9b4976373694337614c5ae.zip SCons-7ddeb166c05a68ebea9b4976373694337614c5ae.tar.gz SCons-7ddeb166c05a68ebea9b4976373694337614c5ae.tar.bz2 | |
yacc tool updates
The yacc tool now recognizes the bison syntax of using --header, --defines
and --graph options in YACCFLAGS without supplying an option argument.
Note that byacc doesn't allow leaving off the option argument, and would
error out in such cases.
Fixes #4326
The yacc tool now recognizes -H as a partial synonym for --header.
It only works in the no-option-argument form - giving an option argument
will likely break things.
Fixes #4327
Tests are expanded to cover these.
The graph file name (-g) is now generated relative to the requested
target file name, not to the source name, to match actual current
behavior. This is rare case - only kicks in if target explicitly requested
with a different base name than source - in this case SCons would emit a
different name than bison produces. Unlikely to affect any real usage -
you would have to set up the condition described, and additionally use
the graph file as a source for some other build target.
The default file suffix for graph files is set to .gv, which is current
for Bison as of 3.8. The previous suffix for Bison, dating back to 2.4,
was .dot, which is still the suffix byacc uses. Docs updated to better
describe when you need to set this. The former default, .vcg, has not
been used since 2006.
Documentation updated for the two header suffix construction variables
to better describe (I hope) what these mean and when to set them. Other
doc updates as well.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Java/java_version_image/src5/TestSCons.java')
0 files changed, 0 insertions, 0 deletions
