diff options
author | Einhard Leichtfuß <alguien@respiranto.de> | 2025-05-21 12:40:11 +0200 |
---|---|---|
committer | Einhard Leichtfuß <alguien@respiranto.de> | 2025-05-21 12:40:11 +0200 |
commit | bc620adb5a07d791c67c42abd29d30e5c1a5c4d2 (patch) | |
tree | 0dbfe9331f07860c877000f95da24e4fd666fc3e /src/Language/SimpleShell/Parser/Function.hs | |
parent | 5f7e05b3fa3e3ea532629e1448048d8a98142198 (diff) |
Distinguish first-pass expression parser
Diffstat (limited to 'src/Language/SimpleShell/Parser/Function.hs')
-rw-r--r-- | src/Language/SimpleShell/Parser/Function.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Language/SimpleShell/Parser/Function.hs b/src/Language/SimpleShell/Parser/Function.hs index 3565966..be3f424 100644 --- a/src/Language/SimpleShell/Parser/Function.hs +++ b/src/Language/SimpleShell/Parser/Function.hs @@ -16,7 +16,7 @@ import Language.SimpleShell.Parser.Common.Root (RootParser) import Language.SimpleShell.Parser.Expr ( runExprParser , strongTermP - , strongTermP_ + , strongTermP0_ ) import Language.SimpleShell.Parser.Name (nameP, keyword) import Language.SimpleShell.Parser.SimpleType (simpleTypeP, forceType) @@ -57,4 +57,4 @@ bodyP :: [Typed VarName] -> RootParser (Typed Expr) bodyP params = runExprParser params strongTermP bodyP_ :: RootParser () -bodyP_ = runExprParser [] strongTermP_ +bodyP_ = strongTermP0_ |