aboutsummaryrefslogtreecommitdiff
path: root/src/ljstype.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ljstype.js')
-rw-r--r--src/ljstype.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ljstype.js b/src/ljstype.js
index 4d46fa9..eb24ac5 100644
--- a/src/ljstype.js
+++ b/src/ljstype.js
@@ -1,6 +1,8 @@
"use strict";
-const luai_ctype_ = [
+const { luastring_of } = require('./defs.js');
+
+const luai_ctype_ = luastring_of(
0x00, /* EOZ */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0. */
0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00,
@@ -34,7 +36,7 @@ const luai_ctype_ = [
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* f. */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
-];
+);
const ALPHABIT = 0;
const DIGITBIT = 1;