From d8174296f0f6270a1c32bd2b58b627aa20e9cb46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Sun, 10 Nov 2024 16:46:56 +0100 Subject: [PATCH] AST: Add `sending` and `actor` as keywords Get up2date. --- .../LighterCodeGenAST/Generation/ReservedWords.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/Libraries/LighterCodeGenAST/Generation/ReservedWords.swift b/Plugins/Libraries/LighterCodeGenAST/Generation/ReservedWords.swift index 064e50e..8a56194 100644 --- a/Plugins/Libraries/LighterCodeGenAST/Generation/ReservedWords.swift +++ b/Plugins/Libraries/LighterCodeGenAST/Generation/ReservedWords.swift @@ -1,6 +1,6 @@ // // Created by Helge Heß. -// Copyright © 2022 ZeeZide GmbH. +// Copyright © 2022-2024 ZeeZide GmbH. // // hm, this doesn't actually work: @@ -22,9 +22,9 @@ let SwiftReservedWords : Set = [ "if", "guard", "else", "switch", "catch", "throw", "true", "false", "nil", "self", "as", "is", - "async", "await", "typealias", "associatedtype", "associativity", "dynamic", "convenience", "required", "final", "didSet", "willSet", "get", "set", - "weak", "unowned" + "weak", "unowned", + "actor", "async", "await", "sending" ]