Prepare for %q, %< and %> in diagnostic message strings.
commit592eee5275e6845f3daddf8f3324cfbd3fb697e2
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 2004 17:07:14 +0000 (5 17:07 +0000)
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 2004 17:07:14 +0000 (5 17:07 +0000)
tree8e39e022d3dc1848c313c01830d01d75c059c4b1
parent1cc2b8f1912f65cf947505ca7c13a5b9754bc334
Prepare for %q, %< and %> in diagnostic message strings.
* java-tree.h (parse_error_context): remove ATTRIBUTE_PRINTF_2.
Name second parameter 'msgid'.
* parse.y: Additionally include pretty-print.h and diagnostic.h.
(issue_warning_error_from_context): Use pretty-printer functions
instead of vsprintf for constructing formatted messages. Rename
parameter 'msg' to 'msgid'.
(parse_error_context): Rename parameter 'msg' to 'msgid'.
(parse_warning_context): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88562 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/java-tree.h
gcc/java/parse.y