浏览代码

fix comment tokenizer

marlenecota 8 年之前
父节点
当前提交
72904610c7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/sb.ts

+ 1 - 0
src/sb.ts

@@ -98,6 +98,7 @@ export const language = <ILanguage>{
 
 		whitespace: [
 			[/[ \t\r\n]+/, ''],
+			[/(\').*$/, 'comment']
 		],
 
 		string: [