Explorar o código

fix comment tokenizer

marlenecota %!s(int64=8) %!d(string=hai) anos
pai
achega
72904610c7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: [