diff options
-rw-r--r-- | smp.1 | 2 | ||||
-rw-r--r-- | src/macro_processor/macro_processor.rs | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -14,7 +14,7 @@ Macros Includes a file in-place, performing macro-expansion on it. NOTE, THERE IS NO LOOP PROTECTION HERE! -.IP "\fBinclude_verbatum(<file>)\fR" +.IP "\fBinclude_varbatim(<file>)\fR" Same as \fBinclude\fR, but does not expand macros. .IP "\fBdefine(<macro_name> [, <macro content>])\fR" diff --git a/src/macro_processor/macro_processor.rs b/src/macro_processor/macro_processor.rs index 96d5471..93a86af 100644 --- a/src/macro_processor/macro_processor.rs +++ b/src/macro_processor/macro_processor.rs @@ -144,8 +144,8 @@ fn smp_builtin_include( return smp.process_input(&input_file); } -/// Include a new file verbatum, don't do ANY additional processing -fn smp_builtin_include_verbatum( +/// Include a new file verbatim, don't do ANY additional processing +fn smp_builtin_include_verbatim ( smp: &mut MacroProcessor, macro_name: &str, args: &mut [String], @@ -300,8 +300,8 @@ impl MacroProcessor { MacroType::Function(smp_builtin_include), ); self.define_macro( - String::from("include_verbatum"), - MacroType::Function(smp_builtin_include_verbatum), + String::from("include_verbatim"), + MacroType::Function(smp_builtin_include_verbatim), ); self.define_macro( String::from("shell"), |