decltype fix on missing type info
This commit is contained in:
parent
b175df4e5f
commit
5504bd3201
1 changed files with 1 additions and 0 deletions
|
|
@ -6033,6 +6033,7 @@ decltype : DECLTYPE LPAREN idcolon RPAREN {
|
|||
Node *n = Swig_symbol_clookup($3,0);
|
||||
if (!n) {
|
||||
Swig_error(cparse_file, cparse_line, "Identifier %s not defined.\n", $3);
|
||||
$$ = $3;
|
||||
} else {
|
||||
$$ = Getattr(n, "type");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue