mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
whitespaces after # are allowed in C++ preprocessor statements
This commit is contained in:
parent
fcb300dc51
commit
a9ba86ce03
2 changed files with 30 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ export const language = <ILanguage>{
|
|||
[/\[\[.*\]\]/, 'annotation'],
|
||||
|
||||
// Preprocessor directive
|
||||
[/^\s*#\w+/, 'keyword'],
|
||||
[/^\s*#\s*\w+/, 'keyword'],
|
||||
|
||||
// delimiters and operators
|
||||
[/[{}()\[\]]/, '@brackets'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue