Macro mpc::g_string [] [src]

macro_rules! g_string {
    ($($arg:expr)+) => { ... };
}

simulate C's compile time string literal concatenation to allow copy-pasta of mpc grammars written in C without any hassle

Usage

let _ = g_string![
     "So many strings\n"
     "So many options\n"
     "So much things\n"
];