shithub: MicroHs

Download patch

ref: 60e96185f08ab8f36698c16c41633bc3a4295b77
parent: 0cbaa2bdd4304a4229fe0a4d188e7062670ed2dd
author: Lennart Augustsson <lennart@augustsson.net>
date: Wed Sep 11 18:10:01 EDT 2024

Comments.

--- a/src/MicroHs/Parse.hs
+++ b/src/MicroHs/Parse.hs
@@ -280,7 +280,7 @@
     pure as
  <|>
   do
-    pSpec '<'
+    pSpec '<'          -- synthetic '{' (i.e., layout)
     as <- p
     -- If we are at a '>' token (i.e., synthetic '}') then
     -- all is well, if not then there is a parse error and we try
--