Skip to content

Commit b9bb50d

Browse files
committed
Merge branch 'master' of github.com:jcupitt/nip2
Conflicts: ChangeLog
2 parents c889be6 + eb8fc4c commit b9bb50d

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

ChangeLog

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
<<<<<<< HEAD
2-
started 7.38.1 18/1/14
3-
- add scRGB to list of known Types
4-
=======
1+
started 7.38.2 21/1/14
2+
- fix a tiny mem leak
3+
54
started 7.38.1 20/1/14
65
- fix scRGB display
7-
>>>>>>> 2bb3de9e64a99361e6363219f301761e4b2aa7d6
86

97
started 7.38.0 18/1/14
108
- version bump

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Process this file with autoconf to produce a configure script.
22

3-
AC_INIT([nip2], [7.38.1])
3+
AC_INIT([nip2], [7.38.2])
44
AM_INIT_AUTOMAKE([-Wall])
55

66
# foreign stops complaints about a missing README (we use README.md instead)
@@ -18,7 +18,7 @@ dnl
1818

1919
m4_define([nip_major_version], [7])
2020
m4_define([nip_minor_version], [38])
21-
m4_define([nip_micro_version], [1])
21+
m4_define([nip_micro_version], [2])
2222
m4_define([nip_version],
2323
[nip_major_version.nip_minor_version.nip_micro_version])
2424

src/parse.y

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ free_lex( int yychar )
15941594
}
15951595

15961596
/* Do we have a string of the form "IDENT = .."? Use the lexer to look along
1597-
* the string checking components, return the IDENT if we do.
1597+
* the string checking components, return the IDENT if we do, NULL otherwise.
15981598
*/
15991599
char *
16001600
parse_test_define( void )
@@ -1609,18 +1609,22 @@ parse_test_define( void )
16091609
/* Here for yyerror in lex.
16101610
*/
16111611
IM_FREE( ident );
1612+
16121613
return( NULL );
16131614
}
16141615

16151616
if( (yychar = yylex()) != TK_IDENT ) {
16161617
free_lex( yychar );
1617-
yyerror( _( "no leading identifier" ) );
1618+
1619+
return( NULL );
16181620
}
16191621
ident = yylval.yy_name;
16201622

16211623
if( (yychar = yylex()) != '=' ) {
16221624
free_lex( yychar );
1623-
yyerror( _( "'=' missing" ) );
1625+
IM_FREE( ident );
1626+
1627+
return( NULL );
16241628
}
16251629

16261630
return( ident );

src/tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
void
3535
tree_const_destroy( ParseConst *pc )
3636
{
37-
if( pc->type == PARSE_CONST_STR )
37+
if( pc->type == PARSE_CONST_STR )
3838
IM_FREE( pc->val.str );
3939
pc->type = PARSE_CONST_NONE;
4040
}

0 commit comments

Comments
 (0)