Warning fix for Visual C++. const is incorrectly being defined away to nothing.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-12-07 00:29:00 +00:00
commit f09d5cbc7a

View file

@ -73,6 +73,10 @@ static int extendmode = 0;
* Assist Functions
* ----------------------------------------------------------------------------- */
/* Called by the parser (yyparse) when an error is found.*/
void yyerror (const char *e) {
}
static Node *new_node(const String_or_char *tag) {
Node *n = NewHash();
set_nodeType(n,tag);
@ -4773,10 +4777,6 @@ empty : ;
%%
/* Called by the parser (yyparse) when an error is found.*/
void yyerror (const char *e) {
}
SwigType *Swig_cparse_type(String *s) {
String *ns;
extern void scanner_file(File *);