Fix a warning message.

Forgot to update this when copy-pasting.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665521 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2008-02-27 07:45:10 +00:00
parent 4ce2874fd5
commit 10ae20f684

View File

@ -315,7 +315,7 @@ Header:
/* TODO(dreiss): Get rid of this once everyone is using the new hotness. */
| tok_java_package tok_identifier
{
pwarning(1, "'cpp_namespace' is deprecated. Use 'namespace cpp' instead");
pwarning(1, "'java package' is deprecated. Use 'namespace java' instead");
pdebug("Header -> tok_java_package tok_identifier");
if (g_parse_mode == PROGRAM) {
g_program->set_namespace("java", $2);