Skip to content

Commit e49b544

Browse files
committed
Updated WASM file with support for #offset -123
1 parent f4b794d commit e49b544

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

_edit/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang="en"><head><meta charset="utf-8">
22
<meta name="robots" content="noindex">
3-
<!-- LODA-RUST WASM project was last updated: 2024 Aug 24. -->
3+
<!-- LODA-RUST WASM project was last updated: 2024 Dec 11. -->
44
<title>Edit</title>
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta name="format-detection" content="telephone=no">

_edit/pkg/loda_rust_web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ async function init(input) {
499499
imports.wbg.__wbindgen_rethrow = function(arg0) {
500500
throw takeObject(arg0);
501501
};
502-
imports.wbg.__wbindgen_closure_wrapper1352 = function(arg0, arg1, arg2) {
502+
imports.wbg.__wbindgen_closure_wrapper1356 = function(arg0, arg1, arg2) {
503503
var ret = makeMutClosure(arg0, arg1, 508, __wbg_adapter_20);
504504
return addHeapObject(ret);
505505
};

_edit/pkg/loda_rust_web_bg.wasm

3.9 KB
Binary file not shown.

_edit/web/codemirror_mode_loda.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
{regex: /-?\d+/, token: "number"},
1818
{regex: /\s*(?:mov|add|sub|trn|mul|div|dif|mod|pow|gcd|bin|cmp|min|max|log|lpb|lpe|nrt|dis|dir|equ|neq|leq|geq|ban|bor|bxo|seq|lps|f\d\d)\b/,
1919
token: "keyword", sol: true },
20+
{regex: /#offset\s+(0|-?[1-9]\d*)$/, token: "keyword", sol: true},
2021
{regex: /;.*/, token: "comment"},
2122
],
2223
});

0 commit comments

Comments
 (0)