]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commit
parser.lisp: tweak method parsing
authorAlejandro R Sedeño <asedeno@google.com>
Wed, 20 Feb 2013 17:54:53 +0000 (12:54 -0500)
committerAlejandro R Sedeño <asedeno@google.com>
Wed, 20 Feb 2013 17:54:53 +0000 (12:54 -0500)
commit6ac9510ced970e660689f05191d8d720b6472f6a
tree92a841dd9269b58b2c468b7eaf451d13f4fef31d
parenteedd521f2e11242910c37c526d3b2de0bac8fe00
parser.lisp: tweak method parsing

Don't assume that returning no options meant there was no body in the
method declaration. An empty body may have been there
instead. Distinguish that scenario with a second return value from
PARSE-PROTO-METHOD-OPTIONS and use that value in PARSE-PROTO-METHOD
determine whether or not to look for a semicolon.
parser.lisp