Skip to content

Commit

Permalink
heta-compiler to v0.8.6, null value
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Aug 7, 2024
1 parent c669428 commit 482868c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
29 changes: 15 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"@viz-js/viz": "^3.2.3",
"ajv": "^8.12.0",
"heta-compiler": "github:hetalang/heta-compiler",
"heta-compiler": "^0.8.6",
"jquery": "^3.7.0",
"js-yaml": "^4.1.0",
"jszip": "^3.10.1",
Expand All @@ -58,6 +58,5 @@
},
"engines": {
"node": ">=16.0.0"
},
"sideEffects": false
}
}
2 changes: 1 addition & 1 deletion src/heta-colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
monaco.languages.register({id: 'heta'});
monaco.languages.setMonarchTokensProvider('heta', {
defaultToken: 'invalid',
keywords: ['abstract', 'concrete', 'namespace', 'include', 'type', 'with', 'begin', 'end', 'true', 'false', 'Inf', 'NaN'],
keywords: ['abstract', 'concrete', 'namespace', 'include', 'type', 'with', 'begin', 'end', 'true', 'false', 'Inf', 'NaN', 'null'],
//tokenPostfix: ".heta",
brackets: [
{ token: "delimiter.bracket", open: "{", close: "}" },
Expand Down
2 changes: 1 addition & 1 deletion src/heta-templates/qsp-units.heta.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ um #defineUnit {
units: [ { kind: metre, multiplier: 1e-6 } ]
};
mm #defineUnit {
units: [ { kind: metre, multiplier: 1e-13 } ]
units: [ { kind: metre, multiplier: 1e-3 } ]
};
cm #defineUnit {
units: [ { kind: metre, multiplier: 1e-2 } ]
Expand Down

0 comments on commit 482868c

Please sign in to comment.