Skip to content

Commit

Permalink
Allow fun as an identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vipentti committed Dec 9, 2023
1 parent c77bbdc commit ff13da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Visp.Compiler/Syntax/SynWriter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ module Write =


let reservedWords =
[ "then"; "done"; "val"; "end"; "begin"; "mod"; "to"; "with" ] |> Set.ofList
[ "fun"; "then"; "done"; "val"; "end"; "begin"; "mod"; "to"; "with" ] |> Set.ofList

let escapableChars = [ '?'; '-'; '+'; '*'; '/'; '!'; ':' ] |> Set.ofList

Expand Down

0 comments on commit ff13da8

Please sign in to comment.