From d0ba96c3dc5b8c040412ee366cf7c596ae430416 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Fri, 21 Feb 2025 21:21:06 +0100 Subject: feat(inko): add support for "for" loops These will be introduced as part of the 0.19.0 release. This commit updates the lockfile as well as the relevant queries to accommodate the new expression and "in" now being a keyword. --- lockfile.json | 2 +- queries/inko/folds.scm | 1 + queries/inko/highlights.scm | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lockfile.json b/lockfile.json index 8ea144155..109e82861 100644 --- a/lockfile.json +++ b/lockfile.json @@ -363,7 +363,7 @@ "revision": "962568c9efa71d25720ab42c5d36e222626ef3a6" }, "inko": { - "revision": "4d057a5c24d715b211c3c82de2526f041b4af66f" + "revision": "f58a87ac4dc6a7955c64c9e4408fbd693e804686" }, "ipkg": { "revision": "8d3e9782f2d091d0cd39c13bfb3068db0c675960" diff --git a/queries/inko/folds.scm b/queries/inko/folds.scm index b0fbc064e..6ec1f5ba4 100644 --- a/queries/inko/folds.scm +++ b/queries/inko/folds.scm @@ -7,6 +7,7 @@ (define_field) (define_variable) (external_function) + (for) (if) (import)+ (loop) diff --git a/queries/inko/highlights.scm b/queries/inko/highlights.scm index 8f25cd798..989bdb9e8 100644 --- a/queries/inko/highlights.scm +++ b/queries/inko/highlights.scm @@ -56,6 +56,7 @@ "copy" "for" "impl" + "in" "inline" "let" "move" -- cgit v1.2.3-70-g09d2