Browse Source

fix comment tokenizer

marlenecota 8 năm trước cách đây
mục cha
commit
72904610c7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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: [