Skip to content

Commit cb62d60

Browse files
committed
Fix grammar enums
1 parent b1d7deb commit cb62d60

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/checker.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ impl Checker for CppCode {
151151
FunctionDefinition,
152152
FunctionDefinition2,
153153
FunctionDefinition3,
154-
FunctionDefinition4,
155-
FunctionDefinitionRepeat1
154+
FunctionDefinition4
156155
);
157156
mk_checker!(is_closure, LambdaExpression);
158157
mk_checker!(

src/getter.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,9 @@ impl Getter for CppCode {
446446
}) {
447447
if let Some(first) = fd.object().child(0) {
448448
match first.kind_id().into() {
449-
Cpp::ScopedIdentifier
449+
Cpp::TypeIdentifier
450450
| Cpp::Identifier
451451
| Cpp::FieldIdentifier
452-
| Cpp::ScopedFieldIdentifier
453452
| Cpp::DestructorName
454453
| Cpp::OperatorName
455454
| Cpp::TemplateFunction

0 commit comments

Comments
 (0)