Permalink
Browse files

aaa -> aan

  • Loading branch information...
1 parent 04560b1 commit 2f89e75cefe33214717240a0fc59d2255fe41612 @bblum committed Dec 6, 2011
Showing with 5 additions and 5 deletions.
  1. +2 −2 Main.hs
  2. +3 −3 Makefile
View
@@ -29,7 +29,7 @@ desc = [ Option ['h'] ["help"] (NoArg (\o -> o { help = True }))
]
header = "Atomic All-Nighters - static C code context checking\n" ++
- "Usage: aaa [OPTION...] SOURCEFILE"
+ "Usage: aan [OPTION...] SOURCEFILE"
helptext = usageInfo header desc
parseArgs :: [String] -> Either [String] (Options, String)
@@ -66,7 +66,7 @@ main =
exitWith $ ExitFailure 1
Right (opts, file) ->
do ast <- parseFile opts file
- print $ pretty ast
+ -- print $ pretty ast
let msgs = check ast
mapM_ putStrLn msgs
when (not $ null msgs) $ exitWith $ ExitFailure 1
View
@@ -1,13 +1,13 @@
HSFLAGS+= -fwarn-incomplete-patterns -O2 -funbox-strict-fields -fasm -optc-O3 -XGADTs
HSMAKE=ghc $(HSFLAGS) --make
-EFILES=bin/aaa
+EFILES=bin/aan
.DEFAULT:all
all: $(EFILES)
-aaa: bin/aaa
+aan: bin/aan
-bin/aaa: Main.hs Check.hs Rules.hs
+bin/aan: Main.hs Check.hs Rules.hs
mkdir -p bin
$(HSMAKE) $< -o $@

0 comments on commit 2f89e75

Please sign in to comment.