]> git.pld-linux.org Git - packages/ctags.git/blame - ctags-5.8-cssparse.patch
fix build with modern gcc/glibc
[packages/ctags.git] / ctags-5.8-cssparse.patch
CommitLineData
f5823ca3
AM
1diff -up ctags-5.8/css.c.me ctags-5.8/css.c
2--- ctags-5.8/css.c.me 2012-10-18 22:03:20.126163700 +0200
3+++ ctags-5.8/css.c 2012-10-18 22:04:03.237107358 +0200
4@@ -73,10 +73,11 @@ static CssParserState parseCssDeclaratio
5 {
6 if( (int) *cp == '\0' )
7 {
8+ /* assign position to the end of line. */
9+ *position = cp;
10 cp = fileReadLine ();
11 if( cp == NULL ){
12 makeCssSimpleTag(name, kind, TRUE);
13- *position = cp;
14 return P_STATE_AT_END;
15 }
16 }
This page took 0.078802 seconds and 4 git commands to generate.