Add another edge case for nested macros.
This commit is contained in:
parent
62afb735d6
commit
9a52044462
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ foreach my $macro (qw/
|
|||
}
|
||||
$session->config->addToHash('macros', "Ex'tras", "Extras");
|
||||
|
||||
plan tests => 47;
|
||||
plan tests => 48;
|
||||
|
||||
my $macroText = "CompanyName: ^c;";
|
||||
my $companyName = $session->setting->get('companyName');
|
||||
|
|
@ -273,6 +273,8 @@ tie my %quotingEdges, 'Tie::IxHash';
|
|||
'^VisualMacro(,,"");' => '@MacroCall[``.``.``]:',
|
||||
'^ReverseParams(^VisualMacro("something","else"););'
|
||||
=> '"else");^VisualMacro("something"',
|
||||
'^ReverseParams("^VisualMacro(first word,second word);");'
|
||||
=> '@MacroCall[`first word`.`second word`]:',
|
||||
);
|
||||
while (my ($inText, $outText) = each %quotingEdges) {
|
||||
my $procText = $inText;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue