Handle static constexpr in language_cpp (#1806)
This commit is contained in:
parent
687aeda956
commit
5bca44f3bf
|
@ -38,6 +38,15 @@ syntax.add {
|
||||||
{ pattern = "static()%s+()inline",
|
{ pattern = "static()%s+()inline",
|
||||||
type = { "keyword", "normal", "keyword" }
|
type = { "keyword", "normal", "keyword" }
|
||||||
},
|
},
|
||||||
|
{ pattern = "static()%s+()constexpr",
|
||||||
|
type = { "keyword", "normal", "keyword" }
|
||||||
|
},
|
||||||
|
{ pattern = "static()%s+()constinit",
|
||||||
|
type = { "keyword", "normal", "keyword" }
|
||||||
|
},
|
||||||
|
{ pattern = "static()%s+()consteval",
|
||||||
|
type = { "keyword", "normal", "keyword" }
|
||||||
|
},
|
||||||
{ pattern = "static()%s+()const",
|
{ pattern = "static()%s+()const",
|
||||||
type = { "keyword", "normal", "keyword" }
|
type = { "keyword", "normal", "keyword" }
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue