From 72904610c74d45df10475386f249b62aaecfbc57 Mon Sep 17 00:00:00 2001 From: marlenecota Date: Sat, 29 Jul 2017 22:23:33 -0700 Subject: [PATCH] fix comment tokenizer --- src/sb.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sb.ts b/src/sb.ts index 43b32faf..ce5c8a33 100644 --- a/src/sb.ts +++ b/src/sb.ts @@ -98,6 +98,7 @@ export const language = { whitespace: [ [/[ \t\r\n]+/, ''], + [/(\').*$/, 'comment'] ], string: [