mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-21 20:34:08 +00:00
fix indent issue when parsing tag unions
This commit is contained in:
parent
ba0408a587
commit
c8e554e119
3 changed files with 19 additions and 7 deletions
|
@ -1299,6 +1299,15 @@ macro_rules! collection_trailing_sep_e {
|
|||
};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! succeed {
|
||||
($value:expr) => {
|
||||
move |_arena: &'a bumpalo::Bump, state: $crate::parser::State<'a>| {
|
||||
Ok((NoProgress, $value, state))
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! and {
|
||||
($p1:expr, $p2:expr) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue