c2nim: new features & bugfixes

This commit is contained in:
Andreas Rumpf 2010-08-11 23:13:11 +02:00
commit afbff2d504
12 changed files with 1262 additions and 171 deletions

View file

@ -12,7 +12,7 @@ import
clex, cparse
const
Version = "0.8.10"
Version = NimrodVersion
Usage = """
c2nim - C to Nimrod source converter
(c) 2010 Andreas Rumpf
@ -29,6 +29,8 @@ Options:
--suffix:SUFFIX strip suffix for the generated Nimrod identifiers
(multiple --suffix options are supported)
--skipinclude do not convert ``#include`` to ``import``
--typeprefixes generate ``T`` and ``P`` type prefixes
--skipcomments do not copy comments
-v, --version write c2nim's version
-h, --help show this help
"""