commit | aff1f4965d0fc2de3d050d0cd2559d005f3f9d69 | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Feb 17 10:56:28 2021 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Wed Feb 17 11:41:34 2021 +0100 |
tree | f9e41f88e81f6fac0e470d7ce3c00a57be0e4606 | |
parent | 611d681cc469b3c04d7b80bd007409a538f5be2c [diff] [blame] |
Fix exec with space and no arguments Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/214 Change-Id: I3efd4fac8c17cbd9006f4f8bbd02a95720d1b89d
diff --git a/src/grammars.hpp b/src/grammars.hpp index 03f0c90..e86748c 100644 --- a/src/grammars.hpp +++ b/src/grammars.hpp
@@ -262,7 +262,7 @@ prepare_::name > space_separator > as<dataPath_>[RpcActionPath<AllowInput::Yes>{}]; auto const exec_def = - exec_::name > -(space_separator > as<dataPath_>[RpcActionPath<AllowInput::No>{}]); + exec_::name > -(space_separator > -as<dataPath_>[RpcActionPath<AllowInput::No>{}]); auto const cancel_def = cancel_::name >> x3::attr(cancel_{});