From e203efdb47ce6a884b3610a60c47d8e67721d7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Sun, 27 May 2018 14:37:31 +0300 Subject: [PATCH] Move IntParseError to example.js --- example.js | 4 ++++ gir.js | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/example.js b/example.js index a980b7d..ad8439e 100644 --- a/example.js +++ b/example.js @@ -1,3 +1,7 @@ +'use strict'; + +class IntParseError extends Error {} + const programCacheSize = 16; // string → {compiled: [flatCommandObjects], extensions: bool} let programCache = new Map(); diff --git a/gir.js b/gir.js index e5f91ef..ad309ea 100644 --- a/gir.js +++ b/gir.js @@ -47,8 +47,6 @@ class ParsingError extends Error {} class UnknownIRError extends Error {} -class IntParseError extends Error {} - // ------------------------------------------------------------------ // Parsing // ------------------------------------------------------------------