add extern "C" to myyytext.
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 17 Mar 2001 19:41:51 +0000 (19:41 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 17 Mar 2001 19:41:51 +0000 (19:41 +0000)
src/langs/sdag/xlator/CLexer.h

index ca4316eb94479d85d68d2176165c9f3065ccda54..d7791fca2f99e781bd923090ab54a8117983ab54 100644 (file)
@@ -14,7 +14,7 @@
 #include "string.h"
 
 extern "C" EToken yylex();
-extern char *myyytext;
+extern "C" char *myyytext;
 extern "C" void Unput(char);
 
 class CLexer {