mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Fix tests
This commit is contained in:
parent
fba61ffccf
commit
0400efce32
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ testTokenization('st', [
|
|||
]
|
||||
}],
|
||||
[{
|
||||
line: "IF a > 2#0000_0110 THEN (* Somethign ' happens *)",
|
||||
line: "IF a > 2#0000_0110 THEN (* Something ' happens *)",
|
||||
tokens: [
|
||||
{ startIndex: 0, type: 'keyword.st' },
|
||||
{ startIndex: 2, type: 'white.st' },
|
||||
|
|
|
|||
|
|
@ -194,8 +194,8 @@ export const language = <ILanguage>{
|
|||
[/\d+/, 'number'],
|
||||
|
||||
[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/, 'tag'],
|
||||
[/\b\%(I|Q|M)(X|B|W|D|L)[0-9\.]+\b/, 'tag'],
|
||||
[/\b\%(I|Q|M)[0-9\.]*\b/, 'tag'],
|
||||
[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/, 'tag'],
|
||||
[/\%(I|Q|M)[0-9\.]*/, 'tag'],
|
||||
[/\b[A-Za-z]{1,6}#[0-9]+\b/, 'tag'],
|
||||
|
||||
[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/, 'predefined'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue