parser.add_option("", "--nsversion",
action="store", dest="namespace_version",
help="version of namespace for this unit")
+ parser.add_option("", "--strip-prefix",
+ action="store", dest="strip_prefix",
+ help="""Option --strip-prefix is deprecated, please see --identifier-prefix
+and --symbol-prefix.""")
parser.add_option("", "--identifier-prefix",
action="append", dest="identifier_prefixes", default=[],
help="""Remove this prefix from C identifiers (structure typedefs, etc.).
_error("Must specify --program or --library")
libraries = options.libraries
+ if options.strip_prefix:
+ _error("Option --strip-prefix is deprecated, please see --identifier-prefix and --symbol-prefix.")
+
filenames = []
for arg in args:
# We don't support real C++ parsing yet, but we should be able