Small bug fix in wrap - for return types, try to parse 'pair' before a simple type to prevent 'pair' spuriously being stored as the namespace of the return type, which causes return type validation to fail for pairs of simple types, i.e. 'pair<int,int>'
parent
981c3363e6
commit
12f8152891
|
@ -245,7 +245,7 @@ void Module::parseMarkup(const std::string& data) {
|
|||
|
||||
Rule void_p = str_p("void")[assign_a(retVal.type1)][assign_a(retVal.category1, RETURN_VOID)];
|
||||
|
||||
Rule returnType_p = void_p | returnType1_p | pair_p;
|
||||
Rule returnType_p = void_p | pair_p | returnType1_p;
|
||||
|
||||
Rule methodName_p = lexeme_d[lower_p >> *(alnum_p | '_')];
|
||||
|
||||
|
|
Loading…
Reference in New Issue