• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisión407905e97006597bf63c9807f04c469ff9dd4d76 (tree)
Tiempo2019-03-18 20:41:45
Autordhrname <dhrname@user...>
Commiterdhrname

Log Message

Modify the ST_readFile function

Cambiar Resumen

Diferencia incremental

--- a/source_code/Makefile
+++ b/source_code/Makefile
@@ -1,4 +1,4 @@
1-CC = gcc
1+CC = clang
22 DEBUGMODE = -Wall -std=c11 -O0 -g -pg
33 NODEBUGMODE = -Wall -std=c11 -O2
44 SHELL = /bin/sh
--- a/source_code/shadowstar.c
+++ b/source_code/shadowstar.c
@@ -1431,7 +1431,7 @@ void ST_main(ST_Char* name, ST_Char* s, uint_fast64_t filelength)
14311431
14321432 /*解放用のツリー*/
14331433 ST_Node freetree = ST_createNode(ST_EMPTY_NODE);
1434- ST_Node btr = ST_parse(freetree, tokens, sizeof(tokens) / sizeof(tokens[0]), varlist);
1434+ ST_Node btr = ST_parse(freetree, tokens, filelength, varlist);
14351435 free(tokens);
14361436 ST_Node evalresult = ST_eval(varlist, btr);
14371437
Binary files a/source_code/shadowstar.o and b/source_code/shadowstar.o differ