lmao what

This commit is contained in:
nora 2022-06-21 19:56:57 +02:00
parent 2e5dfb24e2
commit eb68c2b207
6 changed files with 221 additions and 4 deletions

25
parser/src/ast.rs Normal file
View 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
}