diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-05-05 20:24:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-05-05 21:42:10 +0200 |
commit | 1f0894a45be2ba1bd2d17fef771cf41ecf46309d (patch) | |
tree | 7b0a028cb15bbd71523383b19213b23b216dd68d /examples | |
parent | 7fc1c7fee52bce6ca5c59069a4a66bdb99e24998 (diff) | |
download | rebel-1f0894a45be2ba1bd2d17fef771cf41ecf46309d.tar rebel-1f0894a45be2ba1bd2d17fef771cf41ecf46309d.zip |
rebel-parse, rebel-lang: switch to use ':' for fields in struct literals
Match Rust and make struct literals and block expressions easily
distinguishable even without a struct keyword.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/recipes/gmp/build.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/recipes/gmp/build.recipe b/examples/recipes/gmp/build.recipe index c63fddd..9a1ae45 100644 --- a/examples/recipes/gmp/build.recipe +++ b/examples/recipes/gmp/build.recipe @@ -55,7 +55,7 @@ task install(host: Platform) { task.parent = compile(host); task.output["default"] = struct { - runtime_depends = [host_depend(toolchain::depends)], + runtime_depends: [host_depend(toolchain::depends)], }; ``` |