mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-15 00:55:05 +01:00
more parsing
This commit is contained in:
parent
5cf64dfc55
commit
2ce2edfc64
3 changed files with 66 additions and 5 deletions
|
|
@ -36,3 +36,11 @@ pub struct DeclSpec {
|
|||
pub ty: TypeSpecifier,
|
||||
pub attrs: DeclAttr,
|
||||
}
|
||||
|
||||
#[derive(Debug, DebugPls)]
|
||||
pub struct FunctionDefinition {
|
||||
pub decl_spec: Spanned<DeclSpec>,
|
||||
pub declarator: Spanned<String>,
|
||||
pub declaration_list: Spanned<Vec<()>>,
|
||||
pub body: Vec<()>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue