Skip to content
Snippets Groups Projects
Commit 4c3194f7 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Fix incorrect working about 'Missing semicolon' from cnvwindeps.exe

parent 3dcafdb2
No related branches found
No related tags found
No related merge requests found
......@@ -213,10 +213,18 @@ int main(int argc, char **argv, char **envp)
if (begin)
{
path = skip_spaces(next);
if (*path == '#')
{
/* Comment line */
puts(g_line);
break;
}
next = strchr(path, ':');
if (!next)
{
fprintf(stderr, "%lu: Expected semicolon\n", g_lineno);
fprintf(stderr, "%lu: Expected colon\n", g_lineno);
exit(EXIT_FAILURE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment