Browse Source

rename a few defines with DUK_ prefix, also note that they're now unused

pull/1/head
Sami Vaarala 11 years ago
parent
commit
c21a20b766
  1. 5
      src/duk_js_compiler.h

5
src/duk_js_compiler.h

@ -77,8 +77,9 @@ struct duk_compiler_instr {
* Compiler state
*/
#define MAX_MAPPED_REGS 128 /* max regs mapped to arguments and variables */
#define MAX_ACTIVE_LABELS 64
/* FIXME: these two defines are not referenced? */
#define DUK_MAX_MAPPED_REGS 128 /* max regs mapped to arguments and variables */
#define DUK_MAX_ACTIVE_LABELS 64
#define DUK_LABEL_FLAG_ALLOW_BREAK (1 << 0)
#define DUK_LABEL_FLAG_ALLOW_CONTINUE (1 << 1)

Loading…
Cancel
Save