Main is not a valid foundation datatype name

This commit is contained in:
Michael Snoyman 2011-04-17 06:51:12 +03:00
parent 254795cb40
commit 46ebf76c01

View File

@ -53,7 +53,7 @@ main = do
putStr $(codegen "site-arg")
hFlush stdout
let isUpperAZ c = 'A' <= c && c <= 'Z'
sitearg <- prompt $ \s -> not (null s) && all validPN s && isUpperAZ (head s)
sitearg <- prompt $ \s -> not (null s) && all validPN s && isUpperAZ (head s) && s /= "Main"
putStr $(codegen "database")
hFlush stdout