Skip to content

Support (parsing of) "string call" syntax#8

Open
n1tehawk wants to merge 2 commits intostravant:masterfrom
n1tehawk:20180412_stringcall
Open

Support (parsing of) "string call" syntax#8
n1tehawk wants to merge 2 commits intostravant:masterfrom
n1tehawk:20180412_stringcall

Conversation

@n1tehawk
Copy link

addresses #7

Lua syntax allows specifying function calls without parentheses
if a single, string-type argument follows.

e.g.: require "math"

functionargs() is prepared for this (CallType = 'StringCall'),
but the higher level primaryexpr() parser didn't arrange for it
to be recognized as a valid 'CallExpr'. This commit fixes that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant