Commit 3dff5ea0 authored by Ingmar Wirths's avatar Ingmar Wirths
Browse files

Allow the first line to be a comment.

A comments starts with '#'.
parent 468858fa
......@@ -2379,6 +2379,10 @@ int ir_import_file(FILE *input, const char *inputname)
/* read first character */
/* if the first line starts with '#', it contains a comment. */
if (env->c == '#')
skip_to(env, '\n');
while (true) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment