Skip to content

Commit

Permalink
Fixing more rules that relied on inner rule names.
Browse files Browse the repository at this point in the history
Adding aliases to fix arg-safe variants.
  • Loading branch information
rdblue committed Jul 4, 2012
1 parent 318acfa commit 335ff11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/marker/language.treetop
Expand Up @@ -408,7 +408,7 @@ module Marker
end

rule arg_safe_paragraph
arg_safe_text "" <Paragraph>
text:arg_safe_text "" <Paragraph>
end

# a block of normal text, including single newlines but not a special line
Expand Down Expand Up @@ -587,7 +587,7 @@ module Marker
end

rule arg_safe_bold
bold_toggle ws arg_safe_bold_enclosed_text ws bold_toggle <Bold>
bold_toggle ws bold_enclosed_text:arg_safe_bold_enclosed_text ws bold_toggle <Bold>
end

rule arg_safe_bold_enclosed_text
Expand Down Expand Up @@ -667,7 +667,7 @@ module Marker
end

rule arg_safe_italic
italic_toggle ws arg_safe_italic_enclosed_text ws italic_toggle_no_lookahead <Italic>
italic_toggle ws italic_enclosed_text:arg_safe_italic_enclosed_text ws italic_toggle_no_lookahead <Italic>
end

rule arg_safe_italic_enclosed_text
Expand Down

0 comments on commit 335ff11

Please sign in to comment.