Skip to content

Commit db59b94

Browse files
author
svn-role
committed
Merge r1930381 from trunk:
* r1930381 Fix wrong line numbers displayed in syntax errors from config file parser. Justification: Cosmetic issue which can confuse users in case of syntax errors. Votes: +1: stsp, brane, dsahlberg git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.14.x@1930411 13f79535-47bb-0310-9956-ffa450edef68
1 parent 501e37e commit db59b94

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

STATUS

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,3 @@ Veto-blocked changes:
5656

5757
Approved changes:
5858
=================
59-
60-
* r1930381
61-
Fix wrong line numbers displayed in syntax errors from config file parser.
62-
Justification:
63-
Cosmetic issue which can confuse users in case of syntax errors.
64-
Votes:
65-
+1: stsp, brane, dsahlberg
66-

subversion/libsvn_subr/config_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ svn_config__parse_stream(svn_stream_t *stream,
807807
SVN_ERR(open_section(ctx, &stop));
808808
if (stop)
809809
return SVN_NO_ERROR;
810+
++(ctx->line);
810811
break;
811812

812813
case '#': /* Comment */

0 commit comments

Comments
 (0)