Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
3dff5ea0
Commit
3dff5ea0
authored
Jul 24, 2012
by
Ingmar Wirths
Browse files
Allow the first line to be a comment.
A comments starts with '#'.
parent
468858fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irio.c
View file @
3dff5ea0
...
...
@@ -2379,6 +2379,10 @@ int ir_import_file(FILE *input, const char *inputname)
/* read first character */
read_c
(
env
);
/* if the first line starts with '#', it contains a comment. */
if
(
env
->
c
==
'#'
)
skip_to
(
env
,
'\n'
);
set_optimize
(
0
);
while
(
true
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment