diff --git a/tagmanager/ctags/make.c b/tagmanager/ctags/make.c index be6eb7918..9ed0042a2 100644 --- a/tagmanager/ctags/make.c +++ b/tagmanager/ctags/make.c @@ -44,7 +44,7 @@ static int nextChar (void) { c = fileGetc (); if (c == '\n') - c = fileGetc (); + c = nextChar (); } return c; } diff --git a/tests/ctags/Makefile.am b/tests/ctags/Makefile.am index f66fc3fe0..9bdb3c860 100644 --- a/tests/ctags/Makefile.am +++ b/tests/ctags/Makefile.am @@ -114,6 +114,7 @@ test_sources = \ common.f \ complex-return.js \ continuation.f90 \ + continuation.mak \ countall.sql \ cpp_destructor.cpp \ css-at-rules.css \ diff --git a/tests/ctags/continuation.mak b/tests/ctags/continuation.mak new file mode 100644 index 000000000..f79c63675 --- /dev/null +++ b/tests/ctags/continuation.mak @@ -0,0 +1,11 @@ + +A = \ +a=b \ + \ +b=c \ + \ +c=d \ +\ +d=e \ + +B = dummy diff --git a/tests/ctags/continuation.mak.tags b/tests/ctags/continuation.mak.tags new file mode 100644 index 000000000..c57be415a --- /dev/null +++ b/tests/ctags/continuation.mak.tags @@ -0,0 +1,3 @@ +# format=tagmanager +AÌ65536Ö0 +BÌ65536Ö0