mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-15 00:55:05 +01:00
lmao what
This commit is contained in:
parent
2e5dfb24e2
commit
eb68c2b207
6 changed files with 221 additions and 4 deletions
25
parser/src/ast.rs
Normal file
25
parser/src/ast.rs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
use dbg_pls::DebugPls;
|
||||
|
||||
use crate::Span;
|
||||
|
||||
pub type Spanned<T> = (T, Span);
|
||||
|
||||
#[derive(Debug, DebugPls)]
|
||||
pub enum TypeSpecifier {
|
||||
Void,
|
||||
Char,
|
||||
Short,
|
||||
Int,
|
||||
Long,
|
||||
Float,
|
||||
Double,
|
||||
Signed,
|
||||
Unsigned,
|
||||
Bool,
|
||||
Complex,
|
||||
// TODO
|
||||
// atomic-type-specifier
|
||||
// struct-or-union-specifier
|
||||
// enum-specifier
|
||||
// typedef-name
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue