public
Description: An implementation of markdown in C, using a PEG grammar
Clone URL: git://github.com/jgm/peg-markdown.git
Have TerminalEndline return a NULL rather than an empty SPACE element.
jgm (author)
Wed Jun 11 16:40:10 -0700 2008
commit  f27569f10855a35e68d93709232d851319ad4fc8
tree    51cb68a9a1bedbd62f98cb07149357f67c273e82
parent  82383a8b11750befa5f99ba8630c8a580740ca30
...
593
594
595
596
597
 
598
599
600
...
593
594
595
 
 
596
597
598
599
0
@@ -593,8 +593,7 @@ NormalEndline = Sp Newline !BlankLine !BlockQuote !AtxStart
0
                     $$->key = SPACE; }
0
 
0
 TerminalEndline = Sp Newline Eof
0
- { $$ = mk_str("");
0
- $$->key = SPACE; }
0
+ { $$ = NULL; }
0
 
0
 LineBreak = " " Endline
0
             { $$ = mk_element(LINEBREAK); }

Comments

    No one has commented yet.