]> https://gitweb.dealii.org/ - dealii.git/commitdiff
wrapcomments paren handling 395/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 31 Dec 2014 14:03:56 +0000 (09:03 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 31 Dec 2014 14:03:56 +0000 (09:03 -0500)
Correctly handle an opening parenthesis directly in front of @ref and
fix the one place we use it.

contrib/utilities/wrapcomments.py
include/deal.II/grid/grid_generator.h

index 0dc93b9c667294339f33af8fe8a3c63973b15f8d..9dc12dc78ab4a105b611c3a95218c98ec1a57cc6 100755 (executable)
@@ -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:
index 64afc54f759a6ebf67a959ee50a8d1198f1afba3..a4e7fd64a4b336b2c7f95db4a4c19227d89123cb 100644 (file)
@@ -37,8 +37,8 @@ template <typename number> 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.
  *

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.