Move IntParseError to example.js

This commit is contained in:
Juhani Krekelä 2018-05-27 14:37:31 +03:00
parent 2cde47e42b
commit e203efdb47
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
'use strict';
class IntParseError extends Error {}
const programCacheSize = 16;
// string → {compiled: [flatCommandObjects], extensions: bool}
let programCache = new Map();

2
gir.js
View File

@ -47,8 +47,6 @@ class ParsingError extends Error {}
class UnknownIRError extends Error {}
class IntParseError extends Error {}
// ------------------------------------------------------------------
// Parsing
// ------------------------------------------------------------------