Ver Fonte

fix comment tokenizer

marlenecota há 8 anos atrás
pai
commit
72904610c7
1 ficheiros alterados com 1 adições e 0 exclusões
  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: [