Revert "Clean up smalltalk grammar"

This reverts commit 578bb98f21.
db4
John Benediktsson 2012-05-04 18:20:04 -07:00
parent 495637a087
commit f00b8c8e55
1 changed files with 2 additions and 4 deletions

View File

@ -145,14 +145,12 @@ UnaryMessageSend = (UnaryMessageSend | Operand):lhs
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
=> [[ lhs t h prefix >array <ast-cascade> ]]
BinaryMessageSendLHS = (BinaryMessageSend | UnaryMessageSend | Operand)
BinaryMessageSend = BinaryMessageSendLHS:lhs
BinaryMessageSend = (BinaryMessageSend | UnaryMessageSend | Operand):lhs
BinaryMessage:h
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
=> [[ lhs t h prefix >array <ast-cascade> ]]
KeywordMessageSend = BinaryMessageSendLHS:lhs
KeywordMessageSend = (BinaryMessageSend | UnaryMessageSend | Operand):lhs
KeywordMessage:h
(OptionalWhiteSpace ";" Message:m => [[ m ]])*:t
=> [[ lhs t h prefix >array <ast-cascade> ]]