Log-message for: Improve command-line parser (add OptIntSuffix); make -fliberate...
authorsimonpj@microsoft.com <unknown>
Thu, 11 Jan 2007 09:01:23 +0000 (09:01 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 11 Jan 2007 09:01:23 +0000 (09:01 +0000)
commit1517ef883f04f1036809978f6639a0104d741073
tree6ea93d1c473251b331d8151ee0baee2d40b325a2
parent89a8960b2a270973743a2dfe4dee9fb2b25e870a
Log-message for: Improve command-line parser (add OptIntSuffix); make -fliberate-case-threshold dynamic

(Alas, Darcs failed to record my log-message for the above patch,
so this patch is an attempt to add the log message retrospectively.)

Parsing options numeric arguments, such as
-fliberate-case-threshold=30
for dynamic flags wasn't being handled well.  I elaborated the
command-line parser to have a new constructor, OptIntSuffix, for this
case, and did the consequential changes.

This patch also makes the -fliberate-case-threshold flag into a
dynamic flag.
compiler/main/CmdLineParser.hs