* link/z80/lkmain.c (afile): allow periods in directory names
[fw/sdcc] / as / hc08 / lklex.c
index daaa4f32c3dd16f132ca01f1b984f1852ef8ed8d..f7de6d3c2b45831e0476cbf30c3e76743475274e 100644 (file)
@@ -199,6 +199,9 @@ char *str;
                if (p < &str[PATH_MAX-1])
                        *p++ = c;
                c = get();
+               if (c == ';')
+                       while (c)
+                               c = get();
        } while (c);
        /* trim trailing spaces */
        --p;