mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 11:13:03 +00:00
Fix minor white space and indentation problems.
This commit is contained in:
@@ -263,8 +263,7 @@ compute_file_name_parts (void)
|
|||||||
|
|
||||||
if (spec_file_prefix)
|
if (spec_file_prefix)
|
||||||
{
|
{
|
||||||
/* If --file-prefix=foo was specified, ALL_BUT_TAB_EXT =
|
/* If --file-prefix=foo was specified, ALL_BUT_TAB_EXT = `foo'. */
|
||||||
`foo'. */
|
|
||||||
dir_prefix = xstrndup (grammar_file, base - grammar_file);
|
dir_prefix = xstrndup (grammar_file, base - grammar_file);
|
||||||
all_but_tab_ext = xstrdup (spec_file_prefix);
|
all_but_tab_ext = xstrdup (spec_file_prefix);
|
||||||
}
|
}
|
||||||
@@ -280,8 +279,7 @@ compute_file_name_parts (void)
|
|||||||
grammar: `foo/bar.yy' => `bar'. */
|
grammar: `foo/bar.yy' => `bar'. */
|
||||||
dir_prefix = "";
|
dir_prefix = "";
|
||||||
all_but_tab_ext =
|
all_but_tab_ext =
|
||||||
xstrndup (base,
|
xstrndup (base, (strlen (base) - (ext ? strlen (ext) : 0)));
|
||||||
(strlen (base) - (ext ? strlen (ext) : 0)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
all_but_ext = concat2 (all_but_tab_ext, TAB_EXT);
|
all_but_ext = concat2 (all_but_tab_ext, TAB_EXT);
|
||||||
|
|||||||
Reference in New Issue
Block a user