diff options
author | Nick Clifton <nickc@redhat.com> | 2008-09-29 14:20:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-09-29 14:20:39 +0000 |
commit | 4b38330869fd52febcc133f45625ebbc814d89ac (patch) | |
tree | ef4ad39107591048c8e897d32b388a411f79ebbb /gas/app.c | |
parent | c7d1773a465e05e6a7303613a5e741a002c8273d (diff) | |
download | binutils-redhat-4b38330869fd52febcc133f45625ebbc814d89ac.tar.gz |
PR 6878
* app.c (do_scrub_chars): Only issue warnings about tick
characters detected in symbol strings if hex ticks are supported.
Diffstat (limited to 'gas/app.c')
-rw-r--r-- | gas/app.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1024,7 +1024,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen) #ifndef IEEE_STYLE case LEX_IS_ONECHAR_QUOTE: - if (state == 9) +#ifdef H_TICK_HEX + if (state == 9 && enable_h_tick_hex) { char c; @@ -1032,6 +1033,7 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen) as_warn ("'%c found after symbol", c); UNGET (c); } +#endif if (state == 10) { /* Preserve the whitespace in foo 'b'. */ |