hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 053967e6fffcee02a58a6ded2823c8912044494a
parent 5b4f7994594d4e4f75d32bd8664f0af2ed8ac914
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Sun,  6 Jun 2021 22:51:12 +0000

cmd/hare: provide fallbacks for -D constants

Necessary in order for hare test to be able to compile it

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

Diffstat:
Mcmd/hare/main.ha | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/cmd/hare/main.ha b/cmd/hare/main.ha @@ -1,6 +1,10 @@ use getopt; use os; +def VERSION: str = "unknown"; +def PLATFORM: str = "unknown"; +def HAREPATH: str = "."; + export fn main() void = { let help: []getopt::help = [ "compile, run, and test Hare programs",