summaryrefslogtreecommitdiff
path: root/myrbuild
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-10-11 18:17:52 -0400
committerOri Bernstein <ori@eigenstate.org>2014-10-11 18:17:52 -0400
commitd4db9a6896c59d401494bd79e4297cceb4d7ffd3 (patch)
tree280c4fb12f7954ff6d42be28863660232ab561d0 /myrbuild
parent56a192ced907bcc27405b85e120abb3005f9d981 (diff)
downloadmc-d4db9a6896c59d401494bd79e4297cceb4d7ffd3.tar.gz
Break out of 'use' search with likely terminators.
Diffstat (limited to 'myrbuild')
-rw-r--r--myrbuild/myrbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myrbuild/myrbuild.c b/myrbuild/myrbuild.c
index 99ea635..652d3a2 100644
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -181,7 +181,7 @@ int finddep(char *buf, char **dep)
p += 3;
if (!isspace(*p))
return 0;
- while (isspace(*p) && p != end)
+ while (isspace(*p) && *p != ';' && *p != '"' && p != end)
p++;
w = p;