From 01228db44bc825c1ec214707f5bd22ec4959eee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Teichgr=C3=A4ber?= Date: Mon, 30 Apr 2012 01:24:47 +0200 Subject: [PATCH] Simplified SingleQuoteStart. [jgm/peg-markdown] See https://github.com/jgm/peg-markdown/commit/11d6864 --- markdown.go | 2 +- parser.leg | 4 ++-- portid | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/markdown.go b/markdown.go index 175d9c5..656b9e1 100644 --- a/markdown.go +++ b/markdown.go @@ -31,7 +31,7 @@ const ( // rebuild it using // make nuke // make parser - needParserIfaceVersion = parserIfaceVersion_5 + needParserIfaceVersion = parserIfaceVersion_6 ) // Markdown Options: diff --git a/parser.leg b/parser.leg index e8487b0..ade728d 100644 --- a/parser.leg +++ b/parser.leg @@ -28,7 +28,7 @@ import ( ) const ( - parserIfaceVersion_5 = iota + parserIfaceVersion_6 = iota ) // Semantic value of a parsing action. @@ -754,7 +754,7 @@ EnDash = '-' &Digit EmDash = ("---" | "--") { $$ = p.mkElem(EMDASH) } -SingleQuoteStart = '\'' ![)!\],.;:-? \t\n] +SingleQuoteStart = '\'' SingleQuoteEnd = '\'' !Alphanumeric diff --git a/portid b/portid index 9cc2bc3..4e9bdff 100644 --- a/portid +++ b/portid @@ -1 +1 @@ -163 +164