mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Allow messageboxes arguments to have newline characters (bug #3836)
This commit is contained in:
parent
dc9aedca7d
commit
a560a9e00d
3 changed files with 34 additions and 5 deletions
|
@ -39,6 +39,7 @@ namespace Compiler
|
|||
TokenLoc mPutbackLoc;
|
||||
bool mStrictKeywords;
|
||||
bool mTolerantNames;
|
||||
bool mIgnoreNewline;
|
||||
|
||||
public:
|
||||
|
||||
|
@ -126,6 +127,11 @@ namespace Compiler
|
|||
void listKeywords (std::vector<std::string>& keywords);
|
||||
///< Append all known keywords to \a keywords.
|
||||
|
||||
/// Treat newline character as a part of script command.
|
||||
///
|
||||
/// \attention This mode lasts only until the next keyword is reached.
|
||||
void enableIgnoreNewlines();
|
||||
|
||||
/// Do not accept keywords in quotation marks anymore.
|
||||
///
|
||||
/// \attention This mode lasts only until the next newline is reached.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue