From ab5ce4a901d9512eb263c36b767c9a3848c806b3 Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Mon, 29 Apr 2019 10:01:22 +0200 Subject: [PATCH] Fixed lemma minor problem --- transition_machine/src/ActionBank.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transition_machine/src/ActionBank.cpp b/transition_machine/src/ActionBank.cpp index d85fc39..f7b1cbf 100644 --- a/transition_machine/src/ActionBank.cpp +++ b/transition_machine/src/ActionBank.cpp @@ -116,7 +116,7 @@ std::vector<Action::BasicAction> ActionBank::str2sequence(const std::string & na } else if(std::string(b1) == "RULE") { - if (sscanf(name.c_str(), "%s %s ON %s %s", b1, b2, b3, b4) != 4) + if (sscanf(name.c_str(), "%s %s ON %s %[^\n]", b1, b2, b3, b4) != 4) invalidNameAndAbort(ERRINFO); std::string targetTapeName(b2); -- GitLab