Browse Source

Add double-underscored keywords (indention is too corrupted to fix - a mess of tabs instead of spaces)

Philip Turner 3 years ago
parent
commit
3ed28633bd
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/basic-languages/swift/swift.ts

+ 4 - 1
src/basic-languages/swift/swift.ts

@@ -170,7 +170,10 @@ export const language = <languages.IMonarchLanguage>{
                 'weak',
                 'weak',
                 'where',
                 'where',
                 'while',
                 'while',
-                'willSet'
+                'willSet',
+		
+                '__consuming',
+                '__owned'
 	],
 	],
 
 
 	symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,
 	symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,