BNFC 2.4.1.2 → 2.4.2.0
raw patch · 3 files changed
+12/−3 lines, 3 filesnew-uploader
Files
- BNFC.cabal +1/−1
- Main.hs +10/−1
- dist/build/bnfc/bnfc-tmp/LexBNF.hs +1/−1
BNFC.cabal view
@@ -1,5 +1,5 @@ Name: BNFC-Version: 2.4.1.2+Version: 2.4.2.0 cabal-version: >= 1.2 build-type: Simple category: Development
Main.hs view
@@ -42,11 +42,14 @@ import MultiView (preprocessMCF, mkTestMulti, mkMakefileMulti) import System+import System.Exit import Char import Data.List (elemIndex) +version = "2.4.2.0"+ title = unlines [- "The BNF Converter, 2.4.1.2", + "The BNF Converter, "++version, "(c) Krasimir Angelov, Bjorn Bringert, Johan Broberg, Paul Callaghan, ", " Markus Forsberg, Ola Frid, Peter Gammie, Patrik Jansson, ", " Kristofer Johannisson, Antti-Juhani Kaijanaho, Ulf Norell, ",@@ -60,6 +63,9 @@ xx <- getArgs case xx of+ ["--numeric-version"] -> do+ putStrLn version+ exitSuccess [] -> printUsage _ | elem "-multi" xx -> do putStrLn "preprocessing multilingual BNF"@@ -142,6 +148,9 @@ printUsage = do putStrLn title putStrLn "Usage: bnfc <makeoption>* <language>? <special>* file.cf"+ putStrLn ""+ putStrLn "Version options:"+ putStrLn " --numeric-version Print just the version number" putStrLn "" putStrLn "Make option:" putStrLn " -m generate Makefile"
dist/build/bnfc/bnfc-tmp/LexBNF.hs view
@@ -148,7 +148,7 @@ {-# LINE 1 "templates/GenericTemplate.hs" #-} {-# LINE 1 "templates/GenericTemplate.hs" #-} {-# LINE 1 "<built-in>" #-}-{-# LINE 1 "<command-line>" #-}+{-# LINE 1 "<command line>" #-} {-# LINE 1 "templates/GenericTemplate.hs" #-} -- ----------------------------------------------------------------------------- -- ALEX TEMPLATE