Update grammars (#178508)

* Update grammars

* Update tests
This commit is contained in:
Alex Ross
2023-03-29 11:38:06 +02:00
committed by GitHub
parent 95641374b1
commit 6ac83c7c7d
13 changed files with 748 additions and 155 deletions

View File

@@ -6,7 +6,7 @@
"git": {
"name": "jeff-hykin/better-cpp-syntax",
"repositoryUrl": "https://github.com/jeff-hykin/better-cpp-syntax",
"commitHash": "7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1"
"commitHash": "f1d127a8af2b184db570345f0bb179503c47fdf6"
}
},
"license": "MIT",

View File

@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1",
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",
"name": "C++",
"scopeName": "source.cpp.embedded.macro",
"patterns": [
@@ -126,6 +126,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -158,6 +161,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -1723,6 +1729,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -1755,6 +1764,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -4243,6 +4255,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -4275,6 +4290,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -4894,6 +4912,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -4926,6 +4947,9 @@
},
{
"include": "source.cpp#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -6216,6 +6240,9 @@
"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
}
}
},
{
"include": "#ever_present_context"
}
]
},
@@ -6517,6 +6544,9 @@
},
{
"include": "#evaluation_context"
},
{
"include": "#ever_present_context"
}
]
},

View File

@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/7aef15d9203f0dfeaf075f0673ab3ab382dfb0b1",
"version": "https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",
"name": "C++",
"scopeName": "source.cpp",
"patterns": [
@@ -163,6 +163,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -195,6 +198,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -1982,6 +1988,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -2014,6 +2023,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -5222,6 +5234,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -5254,6 +5269,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -6431,6 +6449,9 @@
},
{
"include": "#string_context"
},
{
"include": "#ever_present_context"
}
]
},
@@ -6463,6 +6484,9 @@
},
{
"include": "#number_literal"
},
{
"include": "#ever_present_context"
}
]
},
@@ -9063,6 +9087,9 @@
"name": "comment.block.cpp punctuation.definition.comment.end.cpp"
}
}
},
{
"include": "#ever_present_context"
}
]
},
@@ -9860,6 +9887,9 @@
},
{
"include": "#evaluation_context"
},
{
"include": "#ever_present_context"
}
]
},