Skip to content

Commit

Permalink
Made callables work recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berezin committed Jun 8, 2019
1 parent a20339d commit 9c523d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
Binary file added lox-language-0.0.2.vsix
Binary file not shown.
22 changes: 2 additions & 20 deletions syntaxes/lox.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,26 +103,8 @@
"callables": {
"patterns": [
{
"match": "([A-Za-z_][A-Za-z0-9_]*)\\(([^\\)]*)\\)",
"captures": {
"1": {
"name": "support.function.lox"
},
"2": {
"patterns": [
{
"name":"variable.parameter.lox",
"match": "\\b[A-Za-z_][A-Za-z0-9_]*\\b"
},
{
"include": "#strings"
},
{
"include": "#digits"
}
]
}
}
"match": "([A-Za-z_][A-Za-z0-9_]*)\\(",
"name": "support.function.lox"
}
]
},
Expand Down

0 comments on commit 9c523d9

Please sign in to comment.