mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
added 'string mode' to script parser; added Keyword and related classes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@85 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -14,8 +14,11 @@
|
||||
|
||||
// ----------------------------------------------------------------------------- : Parser
|
||||
|
||||
// Parse a String to a Script
|
||||
ScriptP parse(const String& s);
|
||||
/// Parse a String to a Script
|
||||
/** If string_mode then s is interpreted as a string,
|
||||
* escaping to script mode can be done with {}
|
||||
*/
|
||||
ScriptP parse(const String& s, bool string_mode = false);
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user