mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Fixed bug in dependency checker that caused it to overwrite variables outside its scope
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1063 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -102,7 +102,11 @@ class Context {
|
||||
/// Number of scopes opened
|
||||
unsigned int level;
|
||||
/// Stack of values
|
||||
vector<ScriptValueP> stack;
|
||||
vector<ScriptValueP> stack;
|
||||
#ifdef _DEBUG
|
||||
/// The opened scopes, for sanity checking
|
||||
vector<size_t> scopes;
|
||||
#endif
|
||||
|
||||
// utility types for dependency analysis
|
||||
struct Jump;
|
||||
|
||||
Reference in New Issue
Block a user