Skip to content
Snippets Groups Projects
  • Alan Modra's avatar
    0e389e77
    * read.c: Standardize error/warning messages - don't capitalise, no · 0e389e77
    Alan Modra authored
    	final period or newline, don't say "ignored" or "zero assumed" for
    	as_bad messages.  In some cases, change the wording to that used
    	elsewhere for similar messages.
    	* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
    	  ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
    	  output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
    	* ecoff.c (ecoff_directive_end): Test for missing name by
    	comparing input line pointers rather than reading string.
    	(ecoff_directive_ent): Likewise.
    	* read.c (s_set): Likewise.
    	(s_align): Report a warning rather than an error for
    	alignment too large.
    	(s_comm): Check for missing symbol name.
    	(s_lcomm_internal): Likewise.
    	(s_lsym): Likewise.
    	(s_globl): Use is_end_of_line instead of looking for '\n'.
    	(s_lcomm_internal): Likewise.
    	(ignore_rest_of_line): Report a warning rather than an error.
    0e389e77
    History
    * read.c: Standardize error/warning messages - don't capitalise, no
    Alan Modra authored
    	final period or newline, don't say "ignored" or "zero assumed" for
    	as_bad messages.  In some cases, change the wording to that used
    	elsewhere for similar messages.
    	* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
    	  ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
    	  output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
    	* ecoff.c (ecoff_directive_end): Test for missing name by
    	comparing input line pointers rather than reading string.
    	(ecoff_directive_ent): Likewise.
    	* read.c (s_set): Likewise.
    	(s_align): Report a warning rather than an error for
    	alignment too large.
    	(s_comm): Check for missing symbol name.
    	(s_lcomm_internal): Likewise.
    	(s_lsym): Likewise.
    	(s_globl): Use is_end_of_line instead of looking for '\n'.
    	(s_lcomm_internal): Likewise.
    	(ignore_rest_of_line): Report a warning rather than an error.