mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
* tests/output.at: New test.
* src/files.c (compute_base_names): Don't map extensions when the YACC flag is set, use defaults. Reported by Evgeny Stambulchik.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2002-01-19 Marc Autret <marc@gnu.org>
|
||||||
|
|
||||||
|
* tests/output.at: New test.
|
||||||
|
* src/files.c (compute_base_names): Don't map extensions when
|
||||||
|
the YACC flag is set, use defaults.
|
||||||
|
Reported by Evgeny Stambulchik.
|
||||||
|
|
||||||
2002-01-19 Marc Autret <marc@gnu.org>
|
2002-01-19 Marc Autret <marc@gnu.org>
|
||||||
|
|
||||||
* configure.in, doc/version.texi: Bump to 1.31a.
|
* configure.in, doc/version.texi: Bump to 1.31a.
|
||||||
|
|||||||
1
THANKS
1
THANKS
@@ -10,6 +10,7 @@ Daniel Hagerty hag@gnu.org
|
|||||||
David J. MacKenzie djm@gnu.org
|
David J. MacKenzie djm@gnu.org
|
||||||
Dick Streefland dick.streefland@altium.nl
|
Dick Streefland dick.streefland@altium.nl
|
||||||
Enrico Scholz enrico.scholz@informatik.tu-chemnitz.de
|
Enrico Scholz enrico.scholz@informatik.tu-chemnitz.de
|
||||||
|
Evgeny Stambulchik fnevgeny@plasma-gate.weizmann.ac.il
|
||||||
Fabrice Bauzac noon@cote-dazur.com
|
Fabrice Bauzac noon@cote-dazur.com
|
||||||
H. Merijn Brand h.m.brand@hccnet.nl
|
H. Merijn Brand h.m.brand@hccnet.nl
|
||||||
Hans Aberg haberg@matematik.su.se
|
Hans Aberg haberg@matematik.su.se
|
||||||
|
|||||||
@@ -419,8 +419,9 @@ compute_base_names (void)
|
|||||||
|
|
||||||
/* Computes the extensions from the grammar file name. */
|
/* Computes the extensions from the grammar file name. */
|
||||||
filename_split (infile, &base, &tab, &ext);
|
filename_split (infile, &base, &tab, &ext);
|
||||||
if (ext)
|
|
||||||
compute_exts_from_gf (ext);
|
if (ext && !yacc_flag)
|
||||||
|
compute_exts_from_gf (ext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,9 @@ AT_CHECK_OUTPUT([foo.y], [%defines %verbose], [],
|
|||||||
AT_CHECK_OUTPUT([foo.y], [%defines %verbose %yacc],[],
|
AT_CHECK_OUTPUT([foo.y], [%defines %verbose %yacc],[],
|
||||||
[y.output y.tab.c y.tab.h])
|
[y.output y.tab.c y.tab.h])
|
||||||
|
|
||||||
|
AT_CHECK_OUTPUT([foo.yy], [%defines %verbose %yacc],[],
|
||||||
|
[y.output y.tab.c y.tab.h])
|
||||||
|
|
||||||
# Exercise %output and %file-prefix
|
# Exercise %output and %file-prefix
|
||||||
AT_CHECK_OUTPUT([foo.y], [%file-prefix="bar" %defines %verbose], [],
|
AT_CHECK_OUTPUT([foo.y], [%file-prefix="bar" %defines %verbose], [],
|
||||||
[bar.output bar.tab.c bar.tab.h])
|
[bar.output bar.tab.c bar.tab.h])
|
||||||
|
|||||||
Reference in New Issue
Block a user