From 7a7291ac3a59a7323618481e8f2071d688864814 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 3 Aug 2018 21:51:35 -0400 Subject: [PATCH] Remove extra code. --- src/mainclient/init.dst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mainclient/init.dst b/src/mainclient/init.dst index ea590dd8..974c04d7 100644 --- a/src/mainclient/init.dst +++ b/src/mainclient/init.dst @@ -1,5 +1,5 @@ # Copyright 2017-2018 (C) Calvin Rose -(table.setproto @{ 1 2} @{}) + (do (var *should-repl* :private false) @@ -10,7 +10,7 @@ # Flag handlers (def handlers :private - {"h" (fn @[] + {"h" (fn [] (print "usage: " (get args 0) " [options] scripts...") (print `Options are: @@ -54,7 +54,7 @@ (repl nil identity) (do (print (string "Dst " VERSION " Copyright (C) 2017-2018 Calvin Rose")) - (repl (fn @[buf p] + (repl (fn [buf p] (def [line] (parser.where p)) (def prompt (string "dst:" line ":" (parser.state p) "> ")) (getline prompt buf)))))))