diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-10-13 18:22:02 +0400 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-10-13 18:22:02 +0400 |
commit | ad14ea91a52563c83a3aba0c7d279cd5535b77e4 (patch) | |
tree | d78275d4d0ff3e51f604f059aee1b485028156f4 /gen/org | |
parent | 498448826d8762add15a524097e91e96b545a631 (diff) | |
download | dokka-ad14ea91a52563c83a3aba0c7d279cd5535b77e4.tar.gz dokka-ad14ea91a52563c83a3aba0c7d279cd5535b77e4.tar.bz2 dokka-ad14ea91a52563c83a3aba0c7d279cd5535b77e4.zip |
Fixing formats and started work on inline function body.
Diffstat (limited to 'gen/org')
-rw-r--r-- | gen/org/jetbrains/markdown/MarkdownParser.java | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gen/org/jetbrains/markdown/MarkdownParser.java b/gen/org/jetbrains/markdown/MarkdownParser.java index ab84cd5e..05a1ada8 100644 --- a/gen/org/jetbrains/markdown/MarkdownParser.java +++ b/gen/org/jetbrains/markdown/MarkdownParser.java @@ -336,19 +336,36 @@ public class MarkdownParser implements PsiParser { } /* ********************************************************** */ - // '{' DirectiveName DirectiveParams '}' + // '{' DirectiveName Space+ DirectiveParams '}' public static boolean Directive(PsiBuilder b, int l) { if (!recursion_guard_(b, l, "Directive")) return false; boolean r; Marker m = enter_section_(b, l, _NONE_, "<directive>"); r = consumeToken(b, "{"); r = r && DirectiveName(b, l + 1); + r = r && Directive_2(b, l + 1); r = r && DirectiveParams(b, l + 1); r = r && consumeToken(b, "}"); exit_section_(b, l, m, DIRECTIVE, r, false, null); return r; } + // Space+ + private static boolean Directive_2(PsiBuilder b, int l) { + if (!recursion_guard_(b, l, "Directive_2")) return false; + boolean r; + Marker m = enter_section_(b); + r = consumeToken(b, SPACE); + int c = current_position_(b); + while (r) { + if (!consumeToken(b, SPACE)) break; + if (!empty_element_parsed_guard_(b, "Directive_2", c)) break; + c = current_position_(b); + } + exit_section_(b, m, null, r); + return r; + } + /* ********************************************************** */ // Word public static boolean DirectiveName(PsiBuilder b, int l) { |