Skip to content

Commit

Permalink
syntax change?
Browse files Browse the repository at this point in the history
  • Loading branch information
molarmanful committed Dec 27, 2024
1 parent f6f310b commit 9a152f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sclin/src/Lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ extension (env: ENV)
.toBool

def cmd(x: String): ENV = x match
case s"#$k" if k != "" => env
case s"\$k" if k != "" => env.push(CMD(k).toFN(env))
case s"#$k" if k != "" => env
case s"\\$k" if k != "" => env.push(CMD(k).toFN(env))
case s"`$k" if k != "" =>
@tailrec def loop(
n: Int = env.code.p.l + 1,
Expand Down

0 comments on commit 9a152f2

Please sign in to comment.