From b332e7d6d2625441c79ad7b32079a100694ae57d Mon Sep 17 00:00:00 2001 From: Yunfei He Date: Wed, 16 Jun 2021 18:33:52 +0800 Subject: [PATCH] fix: fix `dont` to `dont't` --- the-super-tiny-compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the-super-tiny-compiler.js b/the-super-tiny-compiler.js index 42437ca..c216585 100755 --- a/the-super-tiny-compiler.js +++ b/the-super-tiny-compiler.js @@ -530,7 +530,7 @@ function tokenizer(input) { // Finally if we have not matched a character by now, we're going to throw // an error and completely exit. - throw new TypeError('I dont know what this character is: ' + char); + throw new TypeError('I don\'t know what this character is: ' + char); } // Then at the end of our `tokenizer` we simply return the tokens array.