diff options
author | Alan Modra <amodra@gmail.com> | 2000-07-28 05:05:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-07-28 05:05:20 +0000 |
commit | 4c400d5ea7c935bd544aa6998c3faa896b2d1cef (patch) | |
tree | d358c0d2129f8be865d4eefdc58fb5807fb16556 /gas/read.c | |
parent | 0aa529cb6b6141b8c231c99b2692d1bdc628a775 (diff) | |
download | binutils-4c400d5ea7c935bd544aa6998c3faa896b2d1cef.zip binutils-4c400d5ea7c935bd544aa6998c3faa896b2d1cef.tar.gz binutils-4c400d5ea7c935bd544aa6998c3faa896b2d1cef.tar.bz2 |
comment-finding hack for hppa-linux.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -521,6 +521,10 @@ read_a_source_file (name) register int temp; pseudo_typeS *pop; +#ifdef WARN_COMMENTS + found_comment = 0; +#endif + buffer = input_scrub_new_file (name); listing_file (name); @@ -1082,6 +1086,13 @@ read_a_source_file (name) #endif /* Close the input file. */ input_scrub_close (); +#ifdef WARN_COMMENTS + { + if (warn_comment && found_comment) + as_warn_where (found_comment_file, found_comment, + "first comment found here"); + } +#endif } /* For most MRI pseudo-ops, the line actually ends at the first |