shithub: mc

Download patch

ref: d4db9a6896c59d401494bd79e4297cceb4d7ffd3
parent: 56a192ced907bcc27405b85e120abb3005f9d981
author: Ori Bernstein <[email protected]>
date: Sat Oct 11 14:17:52 EDT 2014

Break out of 'use' search with likely terminators.

--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -181,7 +181,7 @@
     p += 3;
     if (!isspace(*p))
         return 0;
-    while (isspace(*p) && p != end)
+    while (isspace(*p) && *p != ';' && *p != '"' && p != end)
         p++;
 
     w = p;