projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e111f7c
)
Improve bogus task tags detection
author
Clifford Wolf
<clifford@clifford.at>
Wed, 12 Sep 2018 11:26:08 +0000
(13:26 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 12 Sep 2018 11:26:08 +0000
(13:26 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
sbysrc/sby.py
patch
|
blob
|
history
diff --git
a/sbysrc/sby.py
b/sbysrc/sby.py
index efc8b1a28e82ce3e5cb1e9a0ec8a0ebac58c683d..435119da7ea7c9396770386150b554cb061199d9 100644
(file)
--- a/
sbysrc/sby.py
+++ b/
sbysrc/sby.py
@@
-164,7
+164,7
@@
def read_sbyconfig(sbydata, taskname):
if len(task_tags_all) and not found_task_tag:
tokens = line.split()
- if len(tokens) > 0 and tokens[0].endswith(":"):
+ if len(tokens) > 0 and tokens[0]
[0] == line[0] and tokens[0]
.endswith(":"):
print("ERROR: Invalid task specifier \"%s\"." % tokens[0], file=sys.stderr)
sys.exit(1)