Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220664
b: refs/heads/master
c: c0920a1
h: refs/heads/master
v: v3
  • Loading branch information
Arnaud Lacombe committed Sep 19, 2010
1 parent 7ec4970 commit 6df8b40
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 268 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ea13e2c87c83b7cb0b360cb8779415967727647
refs/heads/master: c0920a1cbd7aecefa5f9768e82136935132ef1cf
7 changes: 4 additions & 3 deletions trunk/scripts/kconfig/lex.zconf.c_shipped
Original file line number Diff line number Diff line change
Expand Up @@ -2373,9 +2373,10 @@ void zconf_nextfile(const char *name)
memset(buf, 0, sizeof(*buf));

current_buf->state = YY_CURRENT_BUFFER;
zconfin = zconf_fopen(name);
zconfin = zconf_fopen(file->name);
if (!zconfin) {
printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name);
printf("%s:%d: can't open file \"%s\"\n",
zconf_curname(), zconf_lineno(), file->name);
exit(1);
}
zconf_switch_to_buffer(zconf_create_buffer(zconfin,YY_BUF_SIZE));
Expand Down Expand Up @@ -2422,7 +2423,7 @@ int zconf_lineno(void)
return current_pos.lineno;
}

char *zconf_curname(void)
const char *zconf_curname(void)
{
return current_pos.file ? current_pos.file->name : "<none>";
}
Expand Down
Loading

0 comments on commit 6df8b40

Please sign in to comment.