Correctly handle an opening parenthesis directly in front of @ref and
fix the one place we use it.
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:
* 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