diff options
author | bubnikv <bubnikv@gmail.com> | 2017-11-17 13:15:46 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-11-17 13:15:46 +0300 |
commit | 47f193fe2dd78fd1f5d058ade3ff897ce85cfdb8 (patch) | |
tree | 7c33c5b647a0381d8949639658d035e2f9c84459 /t | |
parent | 200f176951d06cea9f2e33b7d8a325fb103d14d4 (diff) |
The PlaceholderParser has been rewritten to use
a real boost::spirit::qi parser, accessing the DynamicConfig repository
directly. This is a first step towards a full fledged expression
interpreter.
Diffstat (limited to 't')
-rw-r--r-- | t/custom_gcode.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/custom_gcode.t b/t/custom_gcode.t index ed74e750c..a0d96736a 100644 --- a/t/custom_gcode.t +++ b/t/custom_gcode.t @@ -48,7 +48,7 @@ use Slic3r::Test; { my $parser = Slic3r::GCode::PlaceholderParser->new; $parser->apply_config(my $config = Slic3r::Config::new_from_defaults); - $parser->set('foo' => '0'); + $parser->set('foo' => 0); is $parser->process('[temperature_[foo]]'), $config->temperature->[0], "nested config options"; |