Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created July 10, 2010 23:07
Show Gist options
  • Save StanAngeloff/471119 to your computer and use it in GitHub Desktop.
Save StanAngeloff/471119 to your computer and use it in GitHub Desktop.

Under Expression: [ line 87, after o "Call" line 89 add:

    o "ForwardCall"

Under operators: [ end of file, add:

  ["right",     'FORWARD']
# Forwarded arguments to a chained function call.
# THIS WORKS
ForwardCall: [
o "Expression FORWARD Invocation", -> new ForwardCallNode $1, $4
]
ForwardArgList: [
o "Expression", -> [$1]
]
# Forwarded arguments to a chained function call.
# THIS WREAKS HAVOC
ForwardCall: [
o "ForwardArgList FORWARD Invocation", -> new ForwardCallNode $1, $4
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment