diff --git a/src/tcl/tcl.ts b/src/tcl/tcl.ts index 7fbf84df..314ca28c 100644 --- a/src/tcl/tcl.ts +++ b/src/tcl/tcl.ts @@ -153,7 +153,7 @@ export const language = { specialFunc: [ [/"/, {token: 'string', next: '@dstring'}], [/'/, {token: 'string', next: '@sstring'}], - [/(?:(?:\:\:?)?[a-zA-Z_]\w*)+/, {token: 'type', next: '@pop'}], + [/\S+/, {token: 'type', next: '@pop'}], ] } };