mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
handle junk in argument lists (Fixes #2206)
This commit is contained in:
parent
5cb94da9c5
commit
b951251572
8 changed files with 106 additions and 6 deletions
|
@ -96,11 +96,12 @@ namespace Compiler
|
|||
/// \return Type ('l': integer, 'f': float)
|
||||
|
||||
int parseArguments (const std::string& arguments, Scanner& scanner,
|
||||
std::vector<Interpreter::Type_Code>& code);
|
||||
std::vector<Interpreter::Type_Code>& code, int ignoreKeyword = -1);
|
||||
///< Parse sequence of arguments specified by \a arguments.
|
||||
/// \param arguments Uses ScriptArgs typedef
|
||||
/// \see Compiler::ScriptArgs
|
||||
/// \param invert Store arguments in reverted order.
|
||||
/// \param ignoreKeyword A keyword that is seen as junk
|
||||
/// \return number of optional arguments
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue