Bump dependencies

This commit is contained in:
Minseong Jang
2022-10-20 13:04:11 +09:00
parent 3f91b321a5
commit f39851625a
4 changed files with 12 additions and 9 deletions

View File

@@ -230,6 +230,7 @@ impl AssertSupported for DerivedDeclarator {
Self::Function(func_decl) => func_decl.assert_supported(),
// Support when K&R function has no parameter
Self::KRFunction(kr_func_decl) => assert!(kr_func_decl.is_empty()),
Self::Block(_) => panic!("DerivedDeclarator::Block"),
}
}
}
@@ -488,6 +489,7 @@ impl AssertSupported for Label {
match self {
Self::Identifier(_) => panic!("Label::Identifier"),
Self::Case(_) => (),
Self::CaseRange(_) => panic!("Label::CaseRange"),
Self::Default => (),
}
}

View File

@@ -1117,6 +1117,7 @@ impl Dtype {
assert!(kr_func_decl.is_empty());
Self::function(self, Vec::new())
}
ast::DerivedDeclarator::Block(_) => panic!(),
};
}