• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

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

Révision551724fdd991a0dedd0975f3108e7f986713e21c (tree)
l'heure2019-02-11 16:39:52
AuteurKatsumi <kmorimatsu@sour...>
CommiterKatsumi

Message de Log

Debug calling static method.

Change Summary

Modification

--- a/mips/megalopa/class.c
+++ b/mips/megalopa/class.c
@@ -824,6 +824,7 @@ char* static_method(char type){
824824
825825 }
826826 if (g_source[g_srcpos]!='(') return ERR_SYNTAX;
827+ g_srcpos++;
827828 // Begin parameter(s) construction routine
828829 check_obj_space(1);
829830 g_object[g_objpos++]=0x34020000; // ori v0,zero,0
--- a/mips/megalopa/debug.c
+++ b/mips/megalopa/debug.c
@@ -228,8 +228,7 @@ static const char initext[]=
228228 static const char bastext[]=
229229 "USECLASS CLASS1\n"
230230 "CLS\n"
231-"a=new(CLASS1)\n"
232-"print a.T3()\n"
231+"print CLASS1::T3()\n"
233232 "\n"
234233 "\n"
235234 "\n"
--- a/mips/zoea/class.c
+++ b/mips/zoea/class.c
@@ -824,6 +824,7 @@ char* static_method(char type){
824824
825825 }
826826 if (g_source[g_srcpos]!='(') return ERR_SYNTAX;
827+ g_srcpos++;
827828 // Begin parameter(s) construction routine
828829 check_obj_space(1);
829830 g_object[g_objpos++]=0x34020000; // ori v0,zero,0