From 33644037010fa01078c7df886dacddde201443d3 Mon Sep 17 00:00:00 2001 From: Patman64 Date: Sat, 16 Aug 2014 04:12:28 -0400 Subject: [PATCH] Fix bug in parser that prevented code in docs. --- docs/ElunaDoc/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ElunaDoc/parser.py b/docs/ElunaDoc/parser.py index c999ad6..4db5032 100644 --- a/docs/ElunaDoc/parser.py +++ b/docs/ElunaDoc/parser.py @@ -108,7 +108,7 @@ class ClassParser(object): # These are used to parse method documentation. start_regex = re.compile(r"\s*/\*\*") # The start of documentation, i.e. /** - body_regex = re.compile(r"\s*\s?\*\s*(.*)") # The "body", i.e. a * and optionally some descriptive text. + body_regex = re.compile(r"\s*\s?\*\s?(.*)") # The "body", i.e. a * and optionally some descriptive text. # An extra optional space (\s?) was thrown in to make it different from `class_body_regex`. param_regex = re.compile(r"""\s*\*\s@param\s # The @param tag starts with opt. whitespace followed by "* @param ".