From 98cf3a689dce936a805618b560e4d9bf987102b3 Mon Sep 17 00:00:00 2001 From: Christian Rinderknecht Date: Thu, 28 Mar 2019 09:21:32 +0100 Subject: [PATCH] The only reserved name now is "args", for the backends' sake. --- src/ligo/ligo-parser/LexToken.mll | 40 +------------------------------ 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/src/ligo/ligo-parser/LexToken.mll b/src/ligo/ligo-parser/LexToken.mll index 7f4eba9b7..f8bcd91c5 100644 --- a/src/ligo/ligo-parser/LexToken.mll +++ b/src/ligo/ligo-parser/LexToken.mll @@ -387,45 +387,7 @@ let keywords = [ let reserved = let open SSet in - empty |> add "as" - |> add "asr" - |> add "assert" - |> add "class" - |> add "constraint" - |> add "do" - |> add "done" - |> add "downto" - |> add "exception" - |> add "external" - |> add "false" - |> add "fun" - |> add "functor" - |> add "include" - |> add "inherit" - |> add "initializer" - |> add "land" - |> add "lazy" - |> add "let" - |> add "lor" - |> add "lsl" - |> add "lsr" - |> add "lxor" - |> add "method" - |> add "module" - |> add "mutable" - |> add "new" - |> add "nonrec" - |> add "object" - |> add "open" - |> add "private" - |> add "rec" - |> add "sig" - |> add "struct" - |> add "true" - |> add "try" - |> add "val" - |> add "virtual" - |> add "when" + empty |> add "args" let constructors = [ (fun reg -> C_False reg);