Fix a warning message.
authorDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 07:45:10 +0000 (07:45 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 07:45:10 +0000 (07:45 +0000)
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

compiler/cpp/src/thrifty.yy

index 9aa56bd..74222ba 100644 (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);