blob: 191b7e0b7c43253d61da1394f8b4d9336814c059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
use super::Macro;
use super::TokenString;
#[derive(Debug)]
pub struct MacroAssignment {
pub name: String,
pub value: TokenString,
#[cfg(feature = "full")]
pub expand_value: bool,
#[cfg(feature = "full")]
pub skip_if_defined: bool,
#[cfg(feature = "full")]
pub append: bool,
}
pub enum MacroAssignmentOutcome {
Set,
AppendedTo(Macro),
}
|