aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockParse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockParse.y')
-rw-r--r--src/HaddockParse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HaddockParse.y b/src/HaddockParse.y
index 15eda968..db712c42 100644
--- a/src/HaddockParse.y
+++ b/src/HaddockParse.y
@@ -14,7 +14,7 @@ import HsSyn
URL { TokURL $$ }
'*' { TokBullet }
'(n)' { TokNumber }
- '>' { TokBirdTrack }
+ '>..' { TokBirdTrack $$ }
IDENT { TokIdent $$ }
PARA { TokPara }
STRING { TokString $$ }
@@ -48,8 +48,8 @@ para :: { Doc }
| codepara { DocCodeBlock $1 }
codepara :: { Doc }
- : '>' seq codepara { docAppend $2 $3 }
- | '>' seq { $2 }
+ : '>..' codepara { docAppend (DocString $1) $2 }
+ | '>..' { DocString $1 }
seq :: { Doc }
: elem seq { docAppend $1 $2 }