Repository: thrift
Updated Branches:
  refs/heads/master c2993c0ed -> 245c347b7


THRIFT-3334 Markdown notation of protocol spec is malformed

This closes #610


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/245c347b
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/245c347b
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/245c347b

Branch: refs/heads/master
Commit: 245c347b7374182f8142ac07e43473ddd8c4d0de
Parents: c2993c0
Author: Nobuaki Sukegawa <[email protected]>
Authored: Mon Sep 21 12:25:10 2015 +0900
Committer: Roger Meier <[email protected]>
Committed: Mon Sep 21 23:06:18 2015 +0200

----------------------------------------------------------------------
 doc/specs/thrift-protocol-spec.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/245c347b/doc/specs/thrift-protocol-spec.md
----------------------------------------------------------------------
diff --git a/doc/specs/thrift-protocol-spec.md 
b/doc/specs/thrift-protocol-spec.md
index 48ee827..950e163 100644
--- a/doc/specs/thrift-protocol-spec.md
+++ b/doc/specs/thrift-protocol-spec.md
@@ -1,4 +1,5 @@
 Thrift Protocol Structure
+====================================================================
 
 Last Modified: 2007-Jun-29
 
@@ -31,12 +32,13 @@ structure. There are some "dumb" terminals like STRING and 
INT
 that take the place of an actual encoding specification.
 
 They key point to notice is that ALL messages are just one wrapped
-<struct>. Depending upon the message type, the <struct> can be
+`<struct>`. Depending upon the message type, the `<struct>` can be
 interpreted as the argument list to a function, the return value
 of a function, or an exception.
 
 --------------------------------------------------------------------
 
+```
        <message> ::= <message-begin> <struct> <message-end>
 
  <message-begin> ::= <method-name> <message-type> <message-seqid>
@@ -94,3 +96,4 @@ of a function, or an exception.
  <set-elem-type> ::= <field-type>
 
       <set-size> ::= I32
+```

Reply via email to