diff options
Diffstat (limited to 'src/makefile/parse.rs')
-rw-r--r-- | src/makefile/parse.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/makefile/parse.rs b/src/makefile/parse.rs new file mode 100644 index 0000000..191b7e0 --- /dev/null +++ b/src/makefile/parse.rs @@ -0,0 +1,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), +} |