mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 05:59:43 +02:00
genex/comp.c (read_tree): correct scanning of names
Before this fix, the whitespace following single-character names was included in the name.
This commit is contained in:
parent
8eb3e88385
commit
a1d5e2dcef
@ -51,7 +51,7 @@ next:
|
||||
}
|
||||
break;
|
||||
}
|
||||
for (p = e = s--; *p && *p != '#' && *p != '\n'; p++)
|
||||
for (p = e = --s; *p && *p != '#' && *p != '\n'; p++)
|
||||
if (*p != ' ' && *p != '\t')
|
||||
e = p;
|
||||
if (!last && n) {
|
||||
|
Loading…
Reference in New Issue
Block a user