2
0
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:
Dave Abrahams
2002-04-13 15:33:00 +00:00
parent de6b91faaa
commit f0039c44c8
2 changed files with 20 additions and 2 deletions

View File

@@ -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 );
}
}

View File

@@ -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 );
}
}