Index: trunk/jenga/include/smoothie/LexicalScoping.h
===================================================================
--- trunk/jenga/include/smoothie/LexicalScoping.h	(revision 248)
+++ 	(revision )
@@ -1,73 +1,0 @@
-#pragma once
-
-#include <windows.h>
-
-enum SCOPE_TYPE{
-	//ベース
-	SCOPE_TYPE_BASE,
-
-	//分岐
-	SCOPE_TYPE_IF,
-
-	//ループ
-	SCOPE_TYPE_DO,
-	SCOPE_TYPE_FOR,
-	SCOPE_TYPE_WHILE,
-
-	//ケース分け
-	SCOPE_TYPE_SELECT,
-};
-
-class CScope{
-protected:
-	int level;
-	int StartAddress;
-	SCOPE_TYPE TypeOfStatement;
-
-	DWORD *pBreakSchedule;
-	int nBreakSchedule;
-
-public:
-	CScope( int level, int addr, SCOPE_TYPE TypeOfStatement );
-	~CScope();
-
-	int GetStartAddress();
-	SCOPE_TYPE GetTypeOfStatement();
-
-	virtual void Break() = 0;
-	virtual void RunScheduleOfBreak() = 0;
-};
-
-class CLexicalScopes{
-protected:
-	CScope **ppScopes;
-	int level;
-
-	virtual CScope *CreateScope( int level, int addr, SCOPE_TYPE TypeOfStatement ) = 0;
-public:
-	CLexicalScopes();
-	~CLexicalScopes();
-
-	//初期化（関数コンパイルの開始時に呼び出される）
-	void Init(int addr);
-
-	// スコープを開始
-	void Start( int addr, SCOPE_TYPE TypeOfStatement );
-
-	// スコープを終了
-	virtual void End() = 0;
-
-	// スコープを検索
-	CScope *SearchScope( SCOPE_TYPE TypeOfStatement );
-
-	int GetNowLevel(void);
-	void SetNowLevel( int level );
-	int GetStartAddress(void);
-
-	//スコープ終了時のデストラクタ呼び出し
-	virtual void CallDestructorsOfScopeEnd() = 0;
-
-	//Returnステートメント用のデストラクタ呼び出し
-	virtual void CallDestructorsOfReturn( int BaseLevel = 0 ) = 0;
-};
-
Index: trunk/jenga/include/smoothie/Smoothie.h
===================================================================
--- trunk/jenga/include/smoothie/Smoothie.h	(revision 248)
+++ trunk/jenga/include/smoothie/Smoothie.h	(revision 249)
@@ -2,5 +2,4 @@
 
 #include "Source.h"
-#include "LexicalScoping.h"
 
 class Smoothie{
@@ -23,11 +22,4 @@
 	};
 
-	// コンパイル中に一時的に利用する
-	class Temp{
-	public:
-		// レキシカルスコープの状態
-		static CLexicalScopes *pLexicalScopes;
-	};
-
 	static bool isFullCompile;
 };
Index: trunk/jenga/projects/smoothie/smoothie.vcproj
===================================================================
--- trunk/jenga/projects/smoothie/smoothie.vcproj	(revision 248)
+++ trunk/jenga/projects/smoothie/smoothie.vcproj	(revision 249)
@@ -283,8 +283,4 @@
 			</File>
 			<File
-				RelativePath="..\..\src\smoothie\LexicalScoping.cpp"
-				>
-			</File>
-			<File
 				RelativePath="..\..\src\smoothie\Smoothie.cpp"
 				>
@@ -309,8 +305,4 @@
 			</File>
 			<File
-				RelativePath="..\..\include\smoothie\LexicalScoping.h"
-				>
-			</File>
-			<File
 				RelativePath="..\..\include\smoothie\Smoothie.h"
 				>
Index: trunk/jenga/src/smoothie/LexicalScoping.cpp
===================================================================
--- trunk/jenga/src/smoothie/LexicalScoping.cpp	(revision 248)
+++ 	(revision )
@@ -1,63 +1,0 @@
-#include <jenga/include/smoothie/LexicalScoping.h>
-#include <jenga/include/smoothie/SmoothieException.h>
-
-
-CScope::CScope( int level, int addr, SCOPE_TYPE TypeOfStatement ){
-	this->level = level;
-	this->StartAddress = addr;
-	this->TypeOfStatement = TypeOfStatement;
-
-	pBreakSchedule = (DWORD *)malloc( 1 );
-	nBreakSchedule = 0;
-}
-CScope::~CScope(){
-	free( pBreakSchedule );
-}
-
-int CScope::GetStartAddress(){
-	return StartAddress;
-}
-SCOPE_TYPE CScope::GetTypeOfStatement(){
-	return TypeOfStatement;
-}
-
-
-
-
-CScope *CLexicalScopes::SearchScope( SCOPE_TYPE TypeOfStatement ){
-	for( int i = level; i>=0; i-- ){
-		if( ppScopes[i]->GetTypeOfStatement() == TypeOfStatement ){
-			return ppScopes[i];
-		}
-	}
-	return NULL;
-}
-
-CLexicalScopes::CLexicalScopes(){
-	ppScopes = (CScope **)malloc( 1 );
-	level=0;
-}
-CLexicalScopes::~CLexicalScopes(){
-	free( ppScopes );
-}
-void CLexicalScopes::Init(int addr){
-	// TODO: エラーチェック
-
-	level = -1;
-	Start( addr, SCOPE_TYPE_BASE );
-}
-void CLexicalScopes::Start( int addr, SCOPE_TYPE TypeOfStatement ){
-	level++;
-	ppScopes = (CScope **)realloc( ppScopes, ( level + 1 ) * sizeof( CScope * ) );
-	ppScopes[level] = CreateScope( level, addr, TypeOfStatement );
-}
-
-int CLexicalScopes::GetNowLevel(){
-	return level;
-}
-void CLexicalScopes::SetNowLevel( int level ){
-	this->level = level;
-}
-int CLexicalScopes::GetStartAddress(){
-	return ppScopes[level]->GetStartAddress();
-}
