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:
parent
7f9b71f6f8
commit
1dca4eca55
1 changed files with 0 additions and 2 deletions
|
|
@ -1033,7 +1033,6 @@ statement : INCLUDE STRING LBRACE {
|
||||||
|
|
||||||
| TYPEMAP LPAREN ID COMMA tm_method RPAREN tm_list STRING {
|
| TYPEMAP LPAREN ID COMMA tm_method RPAREN tm_list STRING {
|
||||||
TMParm *p;
|
TMParm *p;
|
||||||
skip_brace();
|
|
||||||
p = $7;
|
p = $7;
|
||||||
while (p) {
|
while (p) {
|
||||||
if (strcmp($3,typemap_lang) == 0)
|
if (strcmp($3,typemap_lang) == 0)
|
||||||
|
|
@ -1052,7 +1051,6 @@ statement : INCLUDE STRING LBRACE {
|
||||||
FatalError();
|
FatalError();
|
||||||
} else {
|
} else {
|
||||||
TMParm *p;
|
TMParm *p;
|
||||||
skip_brace();
|
|
||||||
p = $5;
|
p = $5;
|
||||||
while (p) {
|
while (p) {
|
||||||
Swig_typemap_register($3,Gettype(p->p),Getname(p->p), $6, p->args);
|
Swig_typemap_register($3,Gettype(p->p),Getname(p->p), $6, p->args);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue