Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
fix EmphUI & StringUI
Browse files Browse the repository at this point in the history
test "Strong and em together" pass
  • Loading branch information
fperrad committed Mar 27, 2009
1 parent 2366993 commit ddc1372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/grammar.pg
Expand Up @@ -278,7 +278,7 @@ token EmphStar {

token OneUIOpen { <!UILine> '_' <!Spacechar> <!Newline> }

token OneUIClose { <!Spacechar> <!Newline> <Inline> <!StrongUI> '_' <!Alphanumeric> }
token OneUIClose { <!Spacechar> <!Newline> <Inline> <!StrongUI> '_' }

token EmphUI {
<.OneUIOpen> [ <!OneUIClose> <Inline> ]* <OneUIClose>
Expand All @@ -301,7 +301,7 @@ token StrongStar {

token TwoUIOpen { <!UILine> '__' <!Spacechar> <!Newline> }

token TwoUIClose { <!Spacechar> <!Newline> <Inline> '__' <!Alphanumeric> }
token TwoUIClose { <!Spacechar> <!Newline> <Inline> '__' }

token StrongUI {
<.TwoUIOpen> [ <!TwoUIClose> <Inline> ]* <TwoUIClose>
Expand Down

0 comments on commit ddc1372

Please sign in to comment.