tiger_lib::parse::pdxfile

Function parse_pdx_macro

Source
pub fn parse_pdx_macro(
    inputs: &[Token],
    global: &PdxfileMemory,
    local: &PdxfileMemory,
) -> Block
Expand description

Re-parse a macro (which is a scripted effect, trigger, or modifier that uses $ parameters) after argument substitution. A full re-parse is needed because the game engine allows tricks such as passing # as a macro argument in order to comment out the rest of a line.