From: Timo Heister Date: Wed, 31 Dec 2014 14:03:56 +0000 (-0500) Subject: wrapcomments paren handling X-Git-Tag: v8.3.0-rc1~577^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F395%2Fhead;p=dealii.git wrapcomments paren handling Correctly handle an opening parenthesis directly in front of @ref and fix the one place we use it. --- diff --git a/contrib/utilities/wrapcomments.py b/contrib/utilities/wrapcomments.py index 0dc93b9c66..9dc12dc78a 100755 --- a/contrib/utilities/wrapcomments.py +++ b/contrib/utilities/wrapcomments.py @@ -117,7 +117,7 @@ def format_block(lines, infostr=""): out.extend(wrap_block(remove_junk(curlines), start)) curlines=[] thisline = remove_junk([lines[idx]])[0] - if not thisline.startswith("@ref"): + if not thisline.startswith("@ref") and not thisline.startswith("(@ref"): print ("%s warning %s not at start of line"%(infostr, "@ref"), file=sys.stderr) # format: diff --git a/include/deal.II/grid/grid_generator.h b/include/deal.II/grid/grid_generator.h index 64afc54f75..a4e7fd64a4 100644 --- a/include/deal.II/grid/grid_generator.h +++ b/include/deal.II/grid/grid_generator.h @@ -37,8 +37,8 @@ template class SparseMatrix; * triangulations for some basic geometries. * * Some of these functions receive a flag @p colorize. If this is set, parts - * of the boundary receive different boundary indicators ( - * @ref GlossBoundaryIndicator), + * of the boundary receive different boundary indicators + * (@ref GlossBoundaryIndicator), * allowing them to be distinguished for the purpose of attaching geometry * objects and evaluating different boundary conditions. *