Commit 905bd7b5 by Geoffrey Keating Committed by Geoffrey Keating

cpplex.c (_cpp_process_line_notes): Mention option name in trigraphs warning.

	* cpplex.c (_cpp_process_line_notes): Mention option name in
	trigraphs warning.

From-SVN: r69659
parent 87d9741e
2003-07-22 Geoffrey Keating <geoffk@apple.com>
* cpplex.c (_cpp_process_line_notes): Mention option name in
trigraphs warning.
2003-07-22 Kazu Hirata <kazu@cs.umass.edu> 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
* combine.c (if_then_else_cond): Simplify the comparison of * combine.c (if_then_else_cond): Simplify the comparison of
......
...@@ -244,9 +244,12 @@ _cpp_process_line_notes (cpp_reader *pfile, int in_comment) ...@@ -244,9 +244,12 @@ _cpp_process_line_notes (cpp_reader *pfile, int in_comment)
note->type, note->type,
(int) _cpp_trigraph_map[note->type]); (int) _cpp_trigraph_map[note->type]);
else else
cpp_error_with_line (pfile, DL_WARNING, pfile->line, col, {
"trigraph ??%c ignored", cpp_error_with_line
note->type); (pfile, DL_WARNING, pfile->line, col,
"trigraph ??%c ignored, use -trigraphs to enable",
note->type);
}
} }
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment