mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-23 00:22:56 +01:00
Merge pull request #1 from ladyrick/ladyrick/fix-cpp-integersuffix
fix(cpp): fix cpp language integer suffix
This commit is contained in:
commit
1003cde6f7
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
// we include these common regular expressions
|
// we include these common regular expressions
|
||||||
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
||||||
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
||||||
integersuffix: /(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,
|
integersuffix: /((l|L|ll|LL)?(u|U)?)|((u|U)?(l|L|ll|LL)?)/,
|
||||||
floatsuffix: /[fFlL]?/,
|
floatsuffix: /[fFlL]?/,
|
||||||
encoding: /u|u8|U|L/,
|
encoding: /u|u8|U|L/,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue