aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler.js1
-rw-r--r--src/settings.js8
2 files changed, 1 insertions, 8 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 69824035..f7c6dd59 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -207,7 +207,6 @@ if (VERBOSE) printErr('VERBOSE is on, this generates a lot of output and can slo
// Load struct and define information.
var temp = JSON.parse(read(STRUCT_INFO));
C_STRUCTS = temp.structs;
-// NOTE: This overwrites C_DEFINES from settings.js, should this be fixed or will C_DEFINES in settings.js be deprecated?
C_DEFINES = temp.defines;
// Load compiler code
diff --git a/src/settings.js b/src/settings.js
index 8d9d4634..8cdf420c 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -438,13 +438,7 @@ var DEBUG_TAGS_SHOWING = [];
// metadata
// legalizer
-// A cached set of defines, generated from the header files. This
-// lets the emscripten libc (library.js) see the right values.
-// The list of defines was moved into struct_info.json in the same directory.
+// The list of defines (C_DEFINES) was moved into struct_info.json in the same directory.
// That file is automatically parsed by tools/gen_struct_info.py.
// If you modify the headers, just clear your cache and emscripten libc should see
// the new values.
-// NOTE: Right now this value is ignored.
-// TODO: See compiler.js (Should this var be deprecated?)
-var C_DEFINES = {};
-