Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
404ae494
Commit
404ae494
authored
Feb 17, 2002
by
Philipp Thomas
Committed by
Philipp Thomas
Feb 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain why empty strings should not be marked for translation.
From-SVN: r49821
parent
a52453cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
gcc/ChangeLog
+5
-0
gcc/doc/tm.texi
+11
-3
No files found.
gcc/ChangeLog
View file @
404ae494
2002-02-17 Philipp Thomas <pthomas@suse.de>
* doc/tm.texi: Explain why empty strings should not be
marked for translation.
2002-02-17 Philipp Thomas <pthomas@suse.de>
* final.c (output_operand_lossage): Changed to accept
printf style arguments. Change calls where necessary.
* output.h (output_operand_lossage): Change declaration
...
...
gcc/doc/tm.texi
View file @
404ae494
...
...
@@ -687,7 +687,11 @@ string is present but empty, then no help information will be displayed
for
that
option
,
but
it
will
not
count
as
an
undocumented
option
.
The
actual
option
name
is
made
by
appending
@samp
{
-
m
}
to
the
specified
name
.
Non
-
empty
description
strings
should
be
marked
with
@code
{
N_
(
@dots
{})}
for
@command
{
xgettext
}.
In
addition
to
the
description
for
@option
{
--
help
},
@command
{
xgettext
}.
Please
do
not
mark
empty
strings
because
the
empty
string
is
reserved
by
GNU
gettext
.
@code
{
gettext
(
""
)}
returns
the
header
entry
of
the
message
catalog
with
meta
information
,
not
the
empty
string
.
In
addition
to
the
description
for
@option
{
--
help
},
more
detailed
documentation
for
each
option
should
be
added
to
@file
{
invoke
.
texi
}.
...
...
@@ -713,8 +717,12 @@ options that have values. Its definition is an initializer with a
subgrouping
for
each
command
option
.
Each
subgrouping
contains
a
string
constant
,
that
defines
the
fixed
part
of
the
option
name
,
the
address
of
a
variable
,
and
a
description
string
(
which
should
again
be
marked
with
@code
{
N_
(
@dots
{})}).
of
the
option
name
,
the
address
of
a
variable
,
and
a
description
string
.
Non
-
empty
description
strings
should
be
marked
with
@code
{
N_
(
@dots
{})}
for
@command
{
xgettext
}.
Please
do
not
mark
empty
strings
because
the
empty
string
is
reserved
by
GNU
gettext
.
@code
{
gettext
(
""
)}
returns
the
header
entry
of
the
message
catalog
with
meta
information
,
not
the
empty
string
.
The
variable
,
type
@code
{
char
*
},
is
set
to
the
variable
part
of
the
given
option
if
the
fixed
part
matches
.
The
actual
option
name
is
made
by
appending
@samp
{
-
m
}
to
the
specified
name
.
Again
,
each
option
should
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment