• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

BASIC compiler/interpreter for PIC32MX/MZ-80K


Commit MetaInfo

修訂ca5f0398cddb6f8e974740a35a49d9cd4047b96f (tree)
時間2019-02-11 16:19:29
作者Katsumi <kmorimatsu@sour...>
CommiterKatsumi

Log Message

Support using a class in another class.

Change Summary

差異

--- a/mips/megalopa/file.c
+++ b/mips/megalopa/file.c
@@ -109,7 +109,7 @@ char* compile_file(){
109109 }
110110
111111 int compile_and_link_file(char* buff,char* appname){
112- int i;
112+ int i,j;
113113 char* err;
114114
115115 while(1){
@@ -129,7 +129,9 @@ int compile_and_link_file(char* buff,char* appname){
129129
130130 // If compiling a class file is required, do it.
131131 if (err==ERR_COMPILE_CLASS) {
132+ j=g_compiling_class;
132133 i=compile_and_link_class(buff, g_class);
134+ g_compiling_class=j;
133135 if (i) return i;
134136 // Continue compiling current file from the beginning.
135137 continue;