start working on a 'program mode'
a new syntax for simple scripting git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@1134 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -86,6 +86,8 @@ public:
|
||||
void SetCommentary(const wchar_t * com_start, const wchar_t * com_stop);
|
||||
void SetCommentary(const std::wstring & com_start, const std::wstring & com_stop);
|
||||
|
||||
void SetProgramMode(bool program_mode);
|
||||
|
||||
private:
|
||||
|
||||
// the output object
|
||||
@@ -131,6 +133,8 @@ private:
|
||||
|
||||
Blocks * pblocks;
|
||||
|
||||
bool program_mode;
|
||||
|
||||
void CreateMsg(std::wstring & out, const wchar_t * type, const wchar_t * arg = 0);
|
||||
|
||||
void ReadFile(const std::wstring & name, std::wstring & result);
|
||||
@@ -173,6 +177,10 @@ private:
|
||||
void ReadDirectiveReturn(Item & item);
|
||||
void ReadNormalStatement(Item & item);
|
||||
|
||||
void CreateTreeReadDirectiveExpression(Item & item, wchar_t starting_terminator, wchar_t ending_terminator);
|
||||
bool CreateTreeCheckProgramDirective(Item & item);
|
||||
bool CreateTreeReadExpression(Item & item);
|
||||
|
||||
void CreateTreeReadItemDirectiveCheckEnding(Item & item);
|
||||
void CreateTreeReadItemDirective(Item & item);
|
||||
void CreateTreeReadItemText(Item & item);
|
||||
|
||||
Reference in New Issue
Block a user