aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorEgry Gabor <gaboregry@t-online.hu>2005-09-03 18:55:12 -0400
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 03:05:49 -0400
commitc196eff3060270f155343b63ef3d06f31ccfcd2e (patch)
tree5a4c173a30b47459713af1a33343e4636eba529d /scripts/kconfig
parentc07e02db76940c75fc92f2f2c9adcdbb09ed70d0 (diff)
[PATCH] kconfig: kxgettext: message fix
The gettext doesn't handle the {CONFIG}:00000 markers as sources. I added a simple comment prefix for them. Signed-off-by: Egry Gabor <gaboregry@t-online.hu> Cc: Arnaldo Carvalho de Melo <acme@conectiva.com.br> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/kxgettext.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/kconfig/kxgettext.c b/scripts/kconfig/kxgettext.c
index 1c88d7c6d5a7..ad1cb9451a24 100644
--- a/scripts/kconfig/kxgettext.c
+++ b/scripts/kconfig/kxgettext.c
@@ -179,7 +179,11 @@ static void message__print_file_lineno(struct message *self)
179{ 179{
180 struct file_line *fl = self->files; 180 struct file_line *fl = self->files;
181 181
182 printf("\n#: %s:%d", fl->file, fl->lineno); 182 putchar('\n');
183 if (self->option != NULL)
184 printf("# %s:00000\n", self->option);
185
186 printf("#: %s:%d", fl->file, fl->lineno);
183 fl = fl->next; 187 fl = fl->next;
184 188
185 while (fl != NULL) { 189 while (fl != NULL) {
@@ -187,9 +191,6 @@ static void message__print_file_lineno(struct message *self)
187 fl = fl->next; 191 fl = fl->next;
188 } 192 }
189 193
190 if (self->option != NULL)
191 printf(", %s:00000", self->option);
192
193 putchar('\n'); 194 putchar('\n');
194} 195}
195 196