diff options
-rw-r--r-- | steuermann/specfile.exy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/steuermann/specfile.exy b/steuermann/specfile.exy index 346ee20..4c65a07 100644 --- a/steuermann/specfile.exy +++ b/steuermann/specfile.exy @@ -51,7 +51,7 @@ parser specfile: ## # rule table_section: - DEBUG string {{ print "-->debug: %s"%string }} + DEBUG string {{ print("-->debug: %s"%string) }} | hostgroup_def | CONDITIONS {{ nodes.declare_conditions( CONDITIONS, self._scanner.filename ) }} | TABLE tablename {{ table_name = tablename }} HOST {{ hostlist = [ ] }} @@ -141,7 +141,7 @@ parser specfile: ) {{ rl[name] = ans }} ) * - {{ print rl ; return rl }} + {{ print(rl) ; return rl }} ## # in the AFTER clause, you can say OPT to mean the node is optional (not an error if it does not exist) |