fixed 32 bit lexer bug

master
Allen Webster 2017-06-22 21:38:41 -04:00
parent e8cd9ca3a0
commit bbb8f6f3a9
3 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ DOC_RETURN(Returns the memory size, in bytes, needed to allocate a table for the
memsize += 8 + (len+3)&(~3);
}
u32_4tech table_count = (str_count * 3) / 2;
memsize += table_count*sizeof(void*);
memsize += table_count*sizeof(u64_4tech);
return(memsize);
}
@ -97,7 +97,7 @@ DOC_RETURN(Returns the memory size, in bytes, needed to allocate a table for the
memsize += 8 + (len+3)&(~3);
}
u32_4tech table_count = (str_count * 3)/2;
memsize += table_count*sizeof(void*);
memsize += table_count*sizeof(u64_4tech);
return(memsize);
}

View File

@ -6,7 +6,7 @@ REM default files no matter where you store your code.
REM And no matter how you call buildsuper.bat.
SET CODE_HOME=%~dp0
IF NOT "%Platform%" == "X64" (call "%CODE_HOME%\\build_scripts\\setup_cl_x64.bat")
IF NOT "%Platform%" == "X64" (call "%CODE_HOME%\\windows_scripts\\setup_cl_x64.bat")
SET SRC=%1
if "%SRC%" == "" SET SRC=4coder_default_bindings.cpp

View File

@ -6,7 +6,7 @@ REM default files no matter where you store your code.
REM And no matter how you call buildsuper.bat.
SET CODE_HOME=%~dp0
IF NOT "%Platform%" == "X86" (call "%CODE_HOME%\\build_scripts\\setup_cl_x86.bat")
IF NOT "%Platform%" == "X86" (call "%CODE_HOME%\\windows_scripts\\setup_cl_x86.bat")
SET SRC=%1
if "%SRC%" == "" (SET SRC=4coder_default_bindings.cpp)