Browse Source

Strings in Pascal can also be #number

Alessandro Fragnani 6 years ago
parent
commit
3e3d229435
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/pascal/pascal.ts

+ 2 - 1
src/pascal/pascal.ts

@@ -126,7 +126,8 @@ export const language = <ILanguage>{
 
 
 			// characters
 			// characters
 			[/'[^\\']'/, 'string'],
 			[/'[^\\']'/, 'string'],
-			[/'/, 'string.invalid']
+			[/'/, 'string.invalid'],
+			[/\#\d+/,'string']
 		],
 		],
 
 
 		comment: [
 		comment: [