diff --git a/tools/lsp/squirrel/src/AST/Parser.hs b/tools/lsp/squirrel/src/AST/Parser.hs index 87988af2e..d439163b0 100644 --- a/tools/lsp/squirrel/src/AST/Parser.hs +++ b/tools/lsp/squirrel/src/AST/Parser.hs @@ -513,7 +513,7 @@ method_call :: Parser (Expr ASTInfo) method_call = do subtree "projection_call" do ctor apply' - <*> field "f" projection + <*> inside "f" projection <*> optional do inside "arguments" arguments where apply' r f (Just xs) = Apply r (Ident r f) xs diff --git a/tools/lsp/squirrel/src/Parser.hs b/tools/lsp/squirrel/src/Parser.hs index e649c70f7..4fc554c00 100644 --- a/tools/lsp/squirrel/src/Parser.hs +++ b/tools/lsp/squirrel/src/Parser.hs @@ -37,7 +37,27 @@ <*> inside "b" b -} -module Parser (module Parser, gets, pfGrove) where +module Parser + ( Parser + , runParser + , debugParser + , subtree + , anything + , token + , ASTInfo + , ctor + , inside + , many + , some + , (<|>) + , optional + , select + , dump + , stubbed + , Stubbed (stub) + , Error + , HasComments (getComments) + ) where import Control.Monad.State import Control.Monad.Writer