src/Parser.h

changeset 106
9174be9ac686
parent 105
6dbac3305614
child 107
55c2bcd8ed5c
--- a/src/Parser.h	Sun Feb 09 21:27:55 2014 +0200
+++ b/src/Parser.h	Sun Feb 09 22:43:58 2014 +0200
@@ -174,6 +174,8 @@
 		void					WriteToFile (String outfile);
 		Variable*				FindVariable (const String& name);
 		bool					IsInGlobalState() const;
+		void					SuggestHighestVarIndex (bool global, int index);
+		int						GetHighestVarIndex (bool global);
 
 		inline ScopeInfo& GetScope (int offset)
 		{
@@ -217,6 +219,8 @@
 		int						mScopeCursor;
 		bool					mCanElse;
 		List<UndefinedLabel>	mUndefinedLabels;
+		int						mHighestGlobalVarIndex;
+		int						mHighestStateVarIndex;
 
 		// How many bytes have we written to file?
 		int						mNumWrittenBytes;

mercurial