# HG changeset patch # User Teemu Piippo <crimsondusk64@gmail.com> # Date 1344735927 -10800 # Node ID d84d82213137037964a5583ed3b6a8f7d01bc153 # Parent a29eeecf3ecb66da5350371fe35ed4ba1e06cf4c some cleanup diff -r a29eeecf3ecb -r d84d82213137 common.h --- a/common.h Sun Aug 12 04:40:33 2012 +0300 +++ b/common.h Sun Aug 12 04:45:27 2012 +0300 @@ -132,7 +132,6 @@ // Script mark and reference struct ScriptMark { - int type; str name; size_t pos; }; diff -r a29eeecf3ecb -r d84d82213137 parser.cxx --- a/parser.cxx Sun Aug 12 04:40:33 2012 +0300 +++ b/parser.cxx Sun Aug 12 04:45:27 2012 +0300 @@ -311,7 +311,7 @@ // Add the condition w->WriteBuffer (cond); - w->Write<long> (DH_IFNOTGOTO); + w->Write<word> (DH_IFNOTGOTO); w->AddReference (mark2); // Store the marks and incrementor @@ -328,8 +328,6 @@ MUST_NOT_TOPLEVEL PushBlockStack (); MustNext ("{"); - - // Store the marks and incrementor blockstack[g_BlockStackCursor].mark1 = w->AddMark (""); blockstack[g_BlockStackCursor].type = BLOCKTYPE_DO; continue;