Fixed typemap specification syntax with strings.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2000-08-28 21:44:17 +00:00
commit 1dca4eca55

View file

@ -1033,7 +1033,6 @@ statement : INCLUDE STRING LBRACE {
| TYPEMAP LPAREN ID COMMA tm_method RPAREN tm_list STRING {
TMParm *p;
skip_brace();
p = $7;
while (p) {
if (strcmp($3,typemap_lang) == 0)
@ -1052,7 +1051,6 @@ statement : INCLUDE STRING LBRACE {
FatalError();
} else {
TMParm *p;
skip_brace();
p = $5;
while (p) {
Swig_typemap_register($3,Gettype(p->p),Getname(p->p), $6, p->args);