$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Fixup semicolon
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-16 13:00:06
Right now, bjam does not consider semicolon a separate unless it's
surrounded by spaces, so:
exe a : a.cpp;
is an error. The below patch fixes this. Is this a path worth taking,
and should we extend this to other special characters?
- Volodya
Index: scan.c
===================================================================
--- scan.c (revision 49346)
+++ scan.c (working copy)
@@ -300,6 +300,11 @@
( inquote || !isspace( c ) )
)
{
+ if (!inquote && b > buf && c == ';')
+ {
+ break;
+ }
+
if ( c == '"' )
{
/* begin or end " */