diff options
Diffstat (limited to 'src/lib/IWORKPath.cpp')
-rw-r--r-- | src/lib/IWORKPath.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/IWORKPath.cpp b/src/lib/IWORKPath.cpp index be91471..28450d6 100644 --- a/src/lib/IWORKPath.cpp +++ b/src/lib/IWORKPath.cpp @@ -156,7 +156,7 @@ struct PathGrammar : public qi::grammar<Iterator, IWORKPath::Impl(), ascii::spac , line() , cCurve() , qCurve() - , close() + , close('Z') { using qi::attr; using qi::as; @@ -172,8 +172,6 @@ struct PathGrammar : public qi::grammar<Iterator, IWORKPath::Impl(), ascii::spac cCurve %= 'C' >> double_ >> double_ >> double_ >> double_ >> double_ >> double_; - close = 'Z'; - curve %= as<Curve_t>()[move >> +(line | cCurve | qCurve) >> -close]; path %= as<Path_t>()[+curve >> *(omit[move]) ]; |