summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/fe
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-06 22:04:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-06 22:04:20 +0000
commit2433d92a12994b9b25434beecb37e9147765819b (patch)
tree8f5594ac27bd416262522f901aee4e3e06bc82bc /TAO/TAO_IDL/fe
parentf41483d77a668ff9b5ca3721fdf29ad6ed0dc287 (diff)
downloadATCD-2433d92a12994b9b25434beecb37e9147765819b.tar.gz
.
Diffstat (limited to 'TAO/TAO_IDL/fe')
-rw-r--r--TAO/TAO_IDL/fe/fe_init.cpp2
-rw-r--r--TAO/TAO_IDL/fe/fe_lookup.cpp8
-rw-r--r--TAO/TAO_IDL/fe/idl.ll6
-rw-r--r--TAO/TAO_IDL/fe/keywords.dat2
-rw-r--r--TAO/TAO_IDL/fe/lex.yy.cpp8
5 files changed, 13 insertions, 13 deletions
diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp
index e6b0603f151..9e2a4f6b282 100644
--- a/TAO/TAO_IDL/fe/fe_init.cpp
+++ b/TAO/TAO_IDL/fe/fe_init.cpp
@@ -90,7 +90,7 @@ ACE_RCSID(fe, fe_init, "$Id$")
* Create a scoped name
*/
static UTL_ScopedName *
-create_scoped_name(char *s)
+create_scoped_name(const char *s)
{
return new UTL_ScopedName(new Identifier(s, 1, 0, I_FALSE), NULL);
}
diff --git a/TAO/TAO_IDL/fe/fe_lookup.cpp b/TAO/TAO_IDL/fe/fe_lookup.cpp
index 2af34391bd3..f9d46d846db 100644
--- a/TAO/TAO_IDL/fe/fe_lookup.cpp
+++ b/TAO/TAO_IDL/fe/fe_lookup.cpp
@@ -2,9 +2,9 @@
#include "idl.h"
#include "idl_extern.h"
#include "fe_private.h"
-/* starting time is 17:20:28 */
-/* C++ code produced by gperf version 2.7 (GNU C++ version) */
-/* Command-line: /project/macarena/coryan/head/ACE_wrappers/bin/gperf -M -J -c -C -D -E -T -f 0 -a -o -t -p -K keyword_ -L C++ -Z TAO_IDL_CPP_Keyword_Table -N lookup -k1,2,$ fe/keywords.dat */
+/* starting time is 16:32:33 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: /project/adaptive/ACE_wrappers/build/SunOS5.5/bin/gperf -M -J -c -C -D -E -T -f 0 -a -o -t -p -K keyword_ -L C++ -Z TAO_IDL_CPP_Keyword_Table -N lookup -k1,2,$ fe/keywords.dat */
unsigned int
TAO_IDL_CPP_Keyword_Table::hash (const char *str, unsigned int len)
{
@@ -188,4 +188,4 @@ TAO_IDL_CPP_Keyword_Table::lookup (const char *str, unsigned int len)
}
return 0;
}
-/* ending time is 17:20:28 */
+/* ending time is 16:32:33 */
diff --git a/TAO/TAO_IDL/fe/idl.ll b/TAO/TAO_IDL/fe/idl.ll
index c8d3e4ff3a7..d943665d901 100644
--- a/TAO/TAO_IDL/fe/idl.ll
+++ b/TAO/TAO_IDL/fe/idl.ll
@@ -166,7 +166,7 @@ oneway return IDL_ONEWAY;
\<\< return IDL_LEFT_SHIFT;
\>\> return IDL_RIGHT_SHIFT;
\:\: {
- yylval.strval = "::";
+ yylval.strval = (char *) "::";
return IDL_SCOPE_DELIMITOR;
}
@@ -343,7 +343,7 @@ idl_parse_line_and_file(char *buf)
continue;
*r = 0;
if (*h == '\0')
- idl_global->set_filename(new String("standard input"));
+ idl_global->set_filename((const char *) new String("standard input"));
else
{
long i;
@@ -358,7 +358,7 @@ idl_parse_line_and_file(char *buf)
h[i] = h[j];
}
h[i] = '\0';
- idl_global->set_filename(new String(h));
+ idl_global->set_filename((const char *) new String(h));
}
int in_main_file = I_FALSE;
if (idl_global->filename()->compare(idl_global->real_filename())
diff --git a/TAO/TAO_IDL/fe/keywords.dat b/TAO/TAO_IDL/fe/keywords.dat
index 0a3ade2e91a..96940a3f68c 100644
--- a/TAO/TAO_IDL/fe/keywords.dat
+++ b/TAO/TAO_IDL/fe/keywords.dat
@@ -1,4 +1,4 @@
-struct TAO_IDL_CPP_Keyword_Entry { char *keyword_ ; char *mapping_; };
+struct TAO_IDL_CPP_Keyword_Entry { const char *keyword_ ; char *mapping_; };
%%
and, "_cxx_and"
and_eq, "_cxx_and_eq"
diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp b/TAO/TAO_IDL/fe/lex.yy.cpp
index 6fde2156aba..d7c58cabafd 100644
--- a/TAO/TAO_IDL/fe/lex.yy.cpp
+++ b/TAO/TAO_IDL/fe/lex.yy.cpp
@@ -605,7 +605,7 @@ char *tao_yytext_ptr;
#line 1 "fe/idl.ll"
#define INITIAL 0
#line 3 "fe/idl.ll"
-/* $Id: idl.ll,v 1.28 1999/05/06 18:24:25 coryan Exp $
+/* $Id: idl.ll,v 1.29 1999/05/17 02:15:08 nanbor Exp $
COPYRIGHT
@@ -1185,7 +1185,7 @@ case 47:
TAO_YY_RULE_SETUP
#line 168 "fe/idl.ll"
{
- tao_yylval.strval = "::";
+ tao_yylval.strval = (char *) "::";
return IDL_SCOPE_DELIMITOR;
}
TAO_YY_BREAK
@@ -2339,7 +2339,7 @@ idl_parse_line_and_file(char *buf)
continue;
*r = 0;
if (*h == '\0')
- idl_global->set_filename(new String("standard input"));
+ idl_global->set_filename((const char *) new String("standard input"));
else
{
long i;
@@ -2354,7 +2354,7 @@ idl_parse_line_and_file(char *buf)
h[i] = h[j];
}
h[i] = '\0';
- idl_global->set_filename(new String(h));
+ idl_global->set_filename((const char *) new String(h));
}
int in_main_file = I_FALSE;
if (idl_global->filename()->compare(idl_global->real_filename())