Added build option for idl tool. Thanks to Tague Griffith <tague@netscape.com> for the patch and the patience while I fumbled this patch. :)
git-svn-id: svn://10.0.0.236/trunk@16404 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -834,13 +834,25 @@ IdlParameter* IdlParser::ParseFunctionParameter(IdlSpecification &aSpecification
|
||||
switch(token->id) {
|
||||
// base type
|
||||
case INPUT_PARAM_TOKEN:
|
||||
#ifdef XP_UNIX
|
||||
argObj->SetAttribute(IdlParameter::INPUT);
|
||||
#else
|
||||
argObj->SetAttribute(IdlParameter.INPUT);
|
||||
#endif
|
||||
break;
|
||||
case OUTPUT_PARAM_TOKEN:
|
||||
#ifdef XP_UNIX
|
||||
argObj->SetAttribute(IdlParameter::OUTPUT);
|
||||
#else
|
||||
argObj->SetAttribute(IdlParameter.OUTPUT);
|
||||
#endif
|
||||
break;
|
||||
case INOUT_PARAM_TOKEN:
|
||||
#ifdef XP_UNIX
|
||||
argObj->SetAttribute(IdlParameter::INOUT);
|
||||
#else
|
||||
argObj->SetAttribute(IdlParameter.INOUT);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
delete argObj;
|
||||
@@ -924,3 +936,6 @@ void IdlParser::TrimComments()
|
||||
mScanner->NextToken();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user