Commit 24948669 authored by Ian Lynagh's avatar Ian Lynagh

Add some comments to the generated Table.hs

parent b1b414a6
{-# LANGUAGE MagicHash #-}
-- Do not edit this file directly!
-- It was generated by the MakeTable.hs script using the following files:
-- It was generated by the MakeTable.hs script using the files below.
-- To regenerate it, run "make" in ../../../../codepages/
--
-- Files:
-- CP037.TXT
-- CP1026.TXT
-- CP1250.TXT
......
......@@ -14,7 +14,6 @@ Currently, this script only supports single-byte encodings, since the lookup
tables required for the CJK double-byte codepages are too large to be
statically linked into every executable. We plan to add support for them once
GHC is able to produce Windows DLLs.
--}
module Main where
......@@ -207,7 +206,10 @@ languageDirectives = ["{-# LANGUAGE MagicHash #-}"]
firstComment :: [FilePath] -> [String]
firstComment files = map ("-- " ++) $
[ "Do not edit this file directly!"
, "It was generated by the MakeTable.hs script using the following files:"
, "It was generated by the MakeTable.hs script using the files below."
, "To regenerate it, run \"make\" in ../../../../codepages/"
, ""
, "Files:"
] ++ map takeFileName files
theImports :: [String]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment