@namespace parsing issue with hyphenated names
Raashid Ansari via Doxygen-users <[email protected]>
| Newsgroups | gmane.text.doxygen.general |
|---|---|
| Message-ID | <[email protected]> |
Hi All, I have built a parser for ASN.1 in Python. I use it to convert ASN.1 code to C++ish code. In ASN.1 you have a module name that encloses all other relevant structures in it, like a C++ namespace. I am using the @namespace command to tell Doxygen to parse the module name as the namespace. The problem arises when a module name contains hyphens in it, e.g. "@namespace FileTransfer-profiles". My parser parses this using the regex: (?<=@namespace\s)[^\s-]+ Meaning it should return one to any number of characters on the same line that is not a space after @namespace. The parser's output in the above example is "FileTransfer-profiles". However, when I open Doxygen created documentation, all I see is "FileTransfer". Am I missing something here? What can I do so that Doxygen gives me the whole module name with hyphens. Regards, Raashid ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Doxygen-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/doxygen-users