diff --git a/src/common.ts b/src/common.ts
index 19a5311..523f51e 100644
--- a/src/common.ts
+++ b/src/common.ts
@@ -24,12 +24,13 @@ export function parseTypeAndName(piece: string) {
let name = piece.substring(index + 1)!;
let type = piece.substring(0, index)!;
// Move Asterisks From Name To Type
- while (name.startsWith('*')) {
+ while (name.startsWith('*') || name.startsWith('&')) {
+ const x = name.substring(0, 1);
name = name.substring(1);
- if (!type.endsWith('*')) {
+ if (!type.endsWith('*') && !type.endsWith('&')) {
type += ' ';
}
- type += '*';
+ type += x;
}
// Return
return {type, name};
diff --git a/syntax-highlighting/textmate/SymbolProcessor.tmbundle/Syntaxes/SymbolProcessor.tmLanguage b/syntax-highlighting/textmate/SymbolProcessor.tmbundle/Syntaxes/SymbolProcessor.tmLanguage
index d488584..1103f73 100644
--- a/syntax-highlighting/textmate/SymbolProcessor.tmbundle/Syntaxes/SymbolProcessor.tmLanguage
+++ b/syntax-highlighting/textmate/SymbolProcessor.tmbundle/Syntaxes/SymbolProcessor.tmLanguage
@@ -34,7 +34,7 @@
name
keyword.control.symbol-processor
match
- \b(extends|size|vtable-size|vtable|property|static-property|method|virtual-method|static-method|constructor|vtable-destructor-offset)\b
+ \b(extends|size|vtable-size|vtable-destructor-offset|vtable|property|static-property|method|virtual-method|static-method|constructor)\b
name