summaryrefslogtreecommitdiff
path: root/src/lcode.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-04-26 18:22:35 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-26 18:22:35 +1000
commitb5f52154a498452ffede27368211e14962715423 (patch)
tree9a15714001e43a01798cf86f186fbf6549cc1031 /src/lcode.js
parent031f528d7b7b7c125fee24f1bd35550ebdcc7060 (diff)
downloadfengari-b5f52154a498452ffede27368211e14962715423.tar.gz
fengari-b5f52154a498452ffede27368211e14962715423.tar.bz2
fengari-b5f52154a498452ffede27368211e14962715423.zip
HACK: Add extra require to break circular dependency issue
Diffstat (limited to 'src/lcode.js')
-rw-r--r--src/lcode.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lcode.js b/src/lcode.js
index cae07e1..112504f 100644
--- a/src/lcode.js
+++ b/src/lcode.js
@@ -8,6 +8,7 @@ const llimit = require('./llimit.js');
const lobject = require('./lobject.js');
const lopcode = require('./lopcodes.js');
const lparser = require('./lparser.js');
+require('./lstate.js'); /* XXX: if this isn't here then things break on require("ltm") */
const ltm = require('./ltm.js');
const lvm = require('./lvm.js');
const CT = defs.CT;