PR 6878
* app.c (do_scrub_chars): Only issue warnings about tick characters detected in symbol strings if hex ticks are supported.
This commit is contained in:
parent
ceae84aacf
commit
c0a139c7d1
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,14 @@
|
||||||
|
2008-09-29 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 6878
|
||||||
|
* app.c (do_scrub_chars): Only issue warnings about tick
|
||||||
|
characters detected in symbol strings if hex ticks are supported.
|
||||||
|
|
||||||
|
2008-09-29 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
|
||||||
|
tc_cfi_emit_pcrel_expr macro.
|
||||||
|
|
||||||
2008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
|
2008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* NEWS: Mention .cfi_val_encoded_addr.
|
* NEWS: Mention .cfi_val_encoded_addr.
|
||||||
|
|
|
@ -1024,7 +1024,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
|
||||||
|
|
||||||
#ifndef IEEE_STYLE
|
#ifndef IEEE_STYLE
|
||||||
case LEX_IS_ONECHAR_QUOTE:
|
case LEX_IS_ONECHAR_QUOTE:
|
||||||
if (state == 9)
|
#ifdef H_TICK_HEX
|
||||||
|
if (state == 9 && enable_h_tick_hex)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
|
|
||||||
|
@ -1032,6 +1033,7 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
|
||||||
as_warn ("'%c found after symbol", c);
|
as_warn ("'%c found after symbol", c);
|
||||||
UNGET (c);
|
UNGET (c);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (state == 10)
|
if (state == 10)
|
||||||
{
|
{
|
||||||
/* Preserve the whitespace in foo 'b'. */
|
/* Preserve the whitespace in foo 'b'. */
|
||||||
|
|
Loading…
Reference in a new issue