aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/ebrowse.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index d1745a893bf..160a19099a3 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
2
3 * ebrowse.c (yylex): If end of input buffer encountered while
4 searching for a newline after "//", return YYEOF. (Bug#7446)
5
12010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back 8 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index 1fcbb8662f5..81067a90819 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -1700,6 +1700,11 @@ yylex (void)
1700 case '/': 1700 case '/':
1701 while (GET (c) && c != '\n') 1701 while (GET (c) && c != '\n')
1702 ; 1702 ;
1703 /* Don't try to read past the end of the input buffer if
1704 the file ends in a C++ comment without a newline. */
1705 if (c == 0)
1706 return YYEOF;
1707
1703 INCREMENT_LINENO; 1708 INCREMENT_LINENO;
1704 break; 1709 break;
1705 1710