mirror of
https://github.com/boostorg/build.git
synced 2026-02-21 15:02:19 +00:00
vc7 compatibility for BOost.Python v1
Better error messages for Jam when actions are too long [SVN r13477]
This commit is contained in:
@@ -535,8 +535,17 @@ make1cmds( ACTIONS *a0 )
|
||||
{
|
||||
/* Too long and not splittable. */
|
||||
|
||||
printf( "%s actions too long (max %d)!\n",
|
||||
printf( "%s actions too long (max %d):\n",
|
||||
rule->name, MAXLINE );
|
||||
|
||||
/* Tell the user what didn't fit */
|
||||
cmd = cmd_new(
|
||||
rule, list_copy( L0, nt ),
|
||||
list_sublist( ns, start, chunk ),
|
||||
list_new( L0, newstr( "%" ) ) );
|
||||
|
||||
printf( cmd->buf );
|
||||
|
||||
exit( EXITBAD );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -535,8 +535,17 @@ make1cmds( ACTIONS *a0 )
|
||||
{
|
||||
/* Too long and not splittable. */
|
||||
|
||||
printf( "%s actions too long (max %d)!\n",
|
||||
printf( "%s actions too long (max %d):\n",
|
||||
rule->name, MAXLINE );
|
||||
|
||||
/* Tell the user what didn't fit */
|
||||
cmd = cmd_new(
|
||||
rule, list_copy( L0, nt ),
|
||||
list_sublist( ns, start, chunk ),
|
||||
list_new( L0, newstr( "%" ) ) );
|
||||
|
||||
printf( cmd->buf );
|
||||
|
||||
exit( EXITBAD );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user