Revert recent using-declarations code changes
Reverts code changes from 7b5a615e50
merge commit in preparation for better fix.
Issue #655 and issue #1488.
This commit is contained in:
parent
7b5a615e50
commit
3f36157b39
3 changed files with 3 additions and 40 deletions
|
|
@ -4468,12 +4468,11 @@ templateparameterstail : COMMA templateparameter templateparameterstail {
|
|||
/* Namespace support */
|
||||
|
||||
cpp_using_decl : USING idcolon SEMI {
|
||||
String *uname = Swig_symbol_type_qualify($2,0);
|
||||
String *uname = Swig_symbol_type_qualify($2,0);
|
||||
String *name = Swig_scopename_last($2);
|
||||
$$ = new_node("using");
|
||||
$$ = new_node("using");
|
||||
Setattr($$,"uname",uname);
|
||||
Setattr($$,"name", name);
|
||||
Swig_symbol_add_using(name, uname, $$);
|
||||
Delete(uname);
|
||||
Delete(name);
|
||||
add_symbols($$);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue