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:
parent
5dfe42a6bc
commit
f09d5cbc7a
1 changed files with 4 additions and 4 deletions
|
|
@ -73,6 +73,10 @@ static int extendmode = 0;
|
||||||
* Assist Functions
|
* 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) {
|
static Node *new_node(const String_or_char *tag) {
|
||||||
Node *n = NewHash();
|
Node *n = NewHash();
|
||||||
set_nodeType(n,tag);
|
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) {
|
SwigType *Swig_cparse_type(String *s) {
|
||||||
String *ns;
|
String *ns;
|
||||||
extern void scanner_file(File *);
|
extern void scanner_file(File *);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue