Move IntParseError to example.js
This commit is contained in:
parent
2cde47e42b
commit
e203efdb47
|
@ -1,3 +1,7 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
class IntParseError extends Error {}
|
||||||
|
|
||||||
const programCacheSize = 16;
|
const programCacheSize = 16;
|
||||||
// string → {compiled: [flatCommandObjects], extensions: bool}
|
// string → {compiled: [flatCommandObjects], extensions: bool}
|
||||||
let programCache = new Map();
|
let programCache = new Map();
|
||||||
|
|
2
gir.js
2
gir.js
|
@ -47,8 +47,6 @@ class ParsingError extends Error {}
|
||||||
|
|
||||||
class UnknownIRError extends Error {}
|
class UnknownIRError extends Error {}
|
||||||
|
|
||||||
class IntParseError extends Error {}
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
// Parsing
|
// Parsing
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue