mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 08:19:42 +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;
|
break;
|
||||||
}
|
}
|
||||||
for (p = e = s--; *p && *p != '#' && *p != '\n'; p++)
|
for (p = e = --s; *p && *p != '#' && *p != '\n'; p++)
|
||||||
if (*p != ' ' && *p != '\t')
|
if (*p != ' ' && *p != '\t')
|
||||||
e = p;
|
e = p;
|
||||||
if (!last && n) {
|
if (!last && n) {
|
||||||
|
Loading…
Reference in New Issue
Block a user