Commit 191f4d88 authored by Tristan Gingold's avatar Tristan Gingold

make_syn: minor refactoring.

parent 0f8a63b9
......@@ -86,8 +86,8 @@ SYN_GRADE := ${syn_grade}
command_list = ["create", "open", "save", "close"]
for command in command_list:
if command in self._tcl_controls:
self.writeln('TCL_{1} := {0}'.format(
self._tcl_controls[command], command.upper()))
self.writeln('TCL_{} := {}'.format(
command.upper(), self._tcl_controls[command]))
ifneq ($(wildcard $(PROJECT_FILE)),)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment