Revision: 421
http://python-ogre.svn.sourceforge.net/python-ogre/?rev=421&view=rev
Author: andy_miller
Date: 2007-10-13 21:33:53 -0700 (Sat, 13 Oct 2007)
Log Message:
-----------
linux fix
Modified Paths:
--------------
trunk/python-ogre/code_generators/common_utils/extract_documentation.py
Modified: trunk/python-ogre/code_generators/common_utils/extract_documentation.py
===================================================================
--- trunk/python-ogre/code_generators/common_utils/extract_documentation.py 2007-10-14 04:33:28 UTC (rev 420)
+++ trunk/python-ogre/code_generators/common_utils/extract_documentation.py 2007-10-14 04:33:53 UTC (rev 421)
@@ -203,6 +203,7 @@
_str = clean(_str, "@code", "::") # using literal code blocks
# _str = clean(_str, "@par", "") ## it will get a single blank line by default -- breaks @param...
+ _str = clean(_str, "\r\n", "\\n") ## for linux build
_str = clean(_str, "\\par", "") ## it will get a single blank line by default
_str = clean(_str, "\n", "\\n")
_str = clean(_str, "\\p", "") ## cegui comments
@@ -245,4 +246,4 @@
print doc_extractor("")(x_decl("myfunc(int x, int y)","c:/development/ocvs/ogrenew/ogremain/include/OgreSceneManager.h",218))
print doc_extractor("")(x_decl("","c:/development/ocvs/ogrenew/ogremain/include/OgreSceneManager.h",223))
- print doc_extractor("")(x_decl("","c:/development/CEGUI-0.5.0/include/CEGUIEvent.h",139))
\ No newline at end of file
+ print doc_extractor("")(x_decl("","c:/development/CEGUI-0.5.0/include/CEGUIEvent.h",139))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|