OSDN Git Service

script.c から syntax 処理を分離
authornaruko <naruko@24ea1065-a21e-4ca1-99c9-f5125deb0858>
Mon, 19 Jan 2009 22:29:46 +0000 (22:29 +0000)
committernaruko <naruko@24ea1065-a21e-4ca1-99c9-f5125deb0858>
Mon, 19 Jan 2009 22:29:46 +0000 (22:29 +0000)
git-svn-id: svn+ssh://svn.osdn.net/svnroot/unagi@276 24ea1065-a21e-4ca1-99c9-f5125deb0858

client/trunk/file.mak
client/trunk/script_engine.c [moved from client/trunk/script.c with 99% similarity]
client/trunk/script_syntax.c [moved from client/trunk/syntax.c with 99% similarity]
client/trunk/script_syntax.h [moved from client/trunk/syntax.h with 100% similarity]

index c79f802..5628b8d 100644 (file)
@@ -1,5 +1,6 @@
 OBJ = \
-       unagi.o script.o syntax.o header.o crc32.o \
+       unagi.o header.o crc32.o \
+       script_engine.o script_syntax.o \
        reader_master.o reader_onajimi.o reader_hongkongfc.o \
        flashmemory.o \
        file.o textutil.o giveio.o unagi.res.o
similarity index 99%
rename from client/trunk/script.c
rename to client/trunk/script_engine.c
index beee546..fc40b0d 100644 (file)
@@ -31,7 +31,7 @@ todo:
 #include "textutil.h"
 #include "config.h"
 #include "header.h"
-#include "syntax.h"
+#include "script_syntax.h"
 #include "script.h"
 
 /*
similarity index 99%
rename from client/trunk/syntax.c
rename to client/trunk/script_syntax.c
index 2f42610..ac7e9d6 100644 (file)
@@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #include "type.h"
 #include "textutil.h"
 #include "script.h"
-#include "syntax.h"
+#include "script_syntax.h"
 
 static int syntax_check_expression(char **word, int word_num, struct st_expression *e)
 {