From 2f3bd046bb52234771dce5c689141626370e26ce Mon Sep 17 00:00:00 2001 From: max99x Date: Sat, 25 Jun 2011 10:27:49 +0300 Subject: Added support for exporting (non-function) global variables. --- src/settings.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/settings.js') diff --git a/src/settings.js b/src/settings.js index f2dd9065..f3ed4d06 100644 --- a/src/settings.js +++ b/src/settings.js @@ -101,6 +101,10 @@ AUTO_OPTIMIZE = 0; // When run with the CHECK_* options, will not fail on errors EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported, so they are guaranteed to // be accessible outside of the generated code. +EXPORTED_GLOBALS = []; // Global non-function variables that are explicitly + // exported, so they are guaranteed to be + // accessible outside of the generated code. + SHOW_LABELS = 0; // Show labels in the generated code // Compiler debugging options -- cgit v1.2.3-18-g5258