WHOOPS
This commit is contained in:
parent
59407ec0a5
commit
5cc14adf4f
4
Makefile
4
Makefile
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
all:
|
all:
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
mingw32-gcc --std=c99 -g -ggdb -liconv -c -o bin/lt.o src/lt.c -liconv
|
mingw32-gcc --std=c99 -g -ggdb -c -o bin/lt.o src/lt.c -liconv
|
||||||
mingw32-gcc -shared -g -ggdb -liconv -o bin/LoveToken.dll bin/lt.o -Wl,--out-implib,bin/libLoveToken.a -liconv
|
mingw32-gcc -shared -g -ggdb -o bin/LoveToken.dll bin/lt.o -Wl,--out-implib,bin/libLoveToken.a -liconv
|
||||||
#mingw32-gcc --std=c99 -g -ggdb -c -o bin/lt.o -DI_FUCKING_HATE_WINDOWS src/lt.c
|
#mingw32-gcc --std=c99 -g -ggdb -c -o bin/lt.o -DI_FUCKING_HATE_WINDOWS src/lt.c
|
||||||
#mingw32-gcc -shared -g -ggdb -o bin/LoveToken.dll bin/iconv.o bin/lt.o -Wl,--out-implib,bin/libLoveToken.a
|
#mingw32-gcc -shared -g -ggdb -o bin/LoveToken.dll bin/iconv.o bin/lt.o -Wl,--out-implib,bin/libLoveToken.a
|
||||||
#cp bin/LoveToken.dll test/LoveToken.dll
|
#cp bin/LoveToken.dll test/LoveToken.dll
|
||||||
|
|
2
src/lt.c
2
src/lt.c
|
@ -34,7 +34,7 @@ static iconv_t icDesc;
|
||||||
static bool assertError = false;
|
static bool assertError = false;
|
||||||
static const char *assertString;
|
static const char *assertString;
|
||||||
|
|
||||||
const char *LT_TkNames[] = {
|
char *LT_TkNames[] = {
|
||||||
// [marrub] So, this was an interesting bug. This was completely misordered from the enum.
|
// [marrub] So, this was an interesting bug. This was completely misordered from the enum.
|
||||||
// As can be guessed, this caused many issues. Seriously, all of them.
|
// As can be guessed, this caused many issues. Seriously, all of them.
|
||||||
"TOK_Colon", "TOK_Comma", "TOK_Div", "TOK_Mod", "TOK_Mul", "TOK_Query",
|
"TOK_Colon", "TOK_Comma", "TOK_Div", "TOK_Mod", "TOK_Mul", "TOK_Query",
|
||||||
|
|
Reference in New Issue
Block a user