Skip to main content

parse_modules

Function parse_modules 

Source
pub fn parse_modules(input: KconfigInput<'_>) -> IResult<KconfigInput<'_>, ()>
Expand description

The “modules” attribute declares the symbol to be used as the MODULES symbol, which enables the third modular state for all config symbols. At most one symbol may have the “modules” option set.

§Example

use nom_kconfig::{assert_parsing_eq, attribute::parse_modules};
assert_parsing_eq!(parse_modules, "modules", Ok(("", ())))