diff options
author | Bruno Haible <bruno@clisp.org> | 2003-10-07 10:02:54 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:11:02 +0200 |
commit | e58058e8387ca35225c66e2d19a3f585ee3a3968 (patch) | |
tree | bbbef8870b181aa5cc3a4fbe7bba8ce17dbbc9fa /gettext-tools/src/x-python.c | |
parent | f2006843ddaa789917c06942f0998f465d598da5 (diff) | |
download | external_gettext-e58058e8387ca35225c66e2d19a3f585ee3a3968.zip external_gettext-e58058e8387ca35225c66e2d19a3f585ee3a3968.tar.gz external_gettext-e58058e8387ca35225c66e2d19a3f585ee3a3968.tar.bz2 |
Forgot to initialize some global variables.
Diffstat (limited to 'gettext-tools/src/x-python.c')
-rw-r--r-- | gettext-tools/src/x-python.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gettext-tools/src/x-python.c b/gettext-tools/src/x-python.c index 4b92117..6f1a8d5 100644 --- a/gettext-tools/src/x-python.c +++ b/gettext-tools/src/x-python.c @@ -253,6 +253,7 @@ phase2_getc () else if (c == '#') { /* Eat a comment. */ + last_comment_line = line_number; comment_start (); for (;;) { @@ -680,7 +681,12 @@ phase5_get (token_ty *tp) continue; tp->type = token_type_other; return; + } + + last_non_comment_line = tp->line_number; + switch (c) + { case '.': { int c1 = phase2_getc (); |