mirror of
https://github.com/sfall-team/sslc.git
synced 2026-07-27 16:52:49 -07:00
Revert commit 0889b154 for DLL build
This commit is contained in:
@@ -475,10 +475,8 @@ static void assignVariable(VariableList *v, int which, LexData *what) {
|
||||
static void reference(int* numrefs, int** refs) {
|
||||
if (!*refs) {
|
||||
*refs = (int*)malloc(8 * 8);
|
||||
#ifndef BUILDING_DLL // Fakels: fixes the list of references for sfall script editor
|
||||
} else if (refs[0][numrefs[0] * 2 - 2] == lexGetLineno(currentInputStream) && refs[0][numrefs[0] * 2 - 1] == (int)lexGetFilename(currentInputStream)) {
|
||||
return;
|
||||
#endif
|
||||
} else if (!(numrefs[0] % 8)) {
|
||||
*refs = (int*)realloc(*refs, (numrefs[0] + 9) * 8);
|
||||
}
|
||||
|
||||
+2
-2
@@ -7,9 +7,9 @@
|
||||
#define VERSION_MAJOR 4
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_BUILD 7
|
||||
#define VERSION_REV 1
|
||||
#define VERSION_REV 0
|
||||
|
||||
#define VERSION_STRING "4.2.7.1"
|
||||
#define VERSION_STRING "4.2.7"
|
||||
|
||||
#ifdef BUILDING_DLL
|
||||
#define FILE_STRING "parser.dll"
|
||||
|
||||
Reference in New Issue
Block a user