Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84725 - trunk/libs/graph/src
From: jewillco_at_[hidden]
Date: 2013-06-10 10:29:39


Author: jewillco
Date: 2013-06-10 10:29:39 EDT (Mon, 10 Jun 2013)
New Revision: 84725
URL: http://svn.boost.org/trac/boost/changeset/84725

Log:
Changed // comments to be non-greedy; fixes #8681

Text files modified:
   trunk/libs/graph/src/read_graphviz_new.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/graph/src/read_graphviz_new.cpp
==============================================================================
--- trunk/libs/graph/src/read_graphviz_new.cpp Mon Jun 10 09:53:07 2013 (r84724)
+++ trunk/libs/graph/src/read_graphviz_new.cpp 2013-06-10 10:29:39 EDT (Mon, 10 Jun 2013) (r84725)
@@ -144,7 +144,7 @@
     {
       std::string end_of_token = "(?=(?:\\W))";
       std::string whitespace = "(?:\\s+)";
- std::string slash_slash_comment = "(?://.*$)";
+ std::string slash_slash_comment = "(?://.*?$)";
       std::string slash_star_comment = "(?:/\\*.*?\\*/)";
       std::string hash_comment = "(?:^#.*?$)";
       std::string backslash_newline = "(?:[\\\\][\\n])";


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk