Date: | 2012-11-02 00:10:08 (11 years 4 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 89fffcbcd913b76fdfbf53b425dc22fc93ca1b50 |
Message: | tools/ant-gui/ant-gui.c (generate): ignore coments (lines beginning
with "#") |
Files: |
tools/ant-gui/ant-gui.c (1 diff) |
Change Details
tools/ant-gui/ant-gui.c | ||
---|---|---|
177 | 177 | exit(1); |
178 | 178 | } |
179 | 179 | while (fgets(buf, sizeof(buf), file)) { |
180 | if (buf[0] == '#') | |
181 | continue; | |
180 | 182 | nl = strchr(buf, '\n'); |
181 | 183 | if (nl) |
182 | 184 | *nl = 0; |
Branches:
master
tornado-v1