From: <ai...@us...> - 2010-11-01 22:41:58
|
Revision: 11296 http://plplot.svn.sourceforge.net/plplot/?rev=11296&view=rev Author: airwin Date: 2010-11-01 22:41:50 +0000 (Mon, 01 Nov 2010) Log Message: ----------- Add the characters "#", "_", "\", and "+" to the list of those that are considered as special horizontal-rule comment characters that are transformed to standard form. Modified Paths: -------------- trunk/bindings/python/plplot_widgetmodule.c trunk/drivers/xwin.c trunk/scripts/convert_comment.py trunk/src/pdfutils.c Modified: trunk/bindings/python/plplot_widgetmodule.c =================================================================== --- trunk/bindings/python/plplot_widgetmodule.c 2010-11-01 22:19:45 UTC (rev 11295) +++ trunk/bindings/python/plplot_widgetmodule.c 2010-11-01 22:41:50 UTC (rev 11296) @@ -55,7 +55,7 @@ #endif -// ############################################################################## +//-------------------------------------------------------------------------- static PyMethodDef plplot_widget_methods[] = { #ifdef ENABLE_tk Modified: trunk/drivers/xwin.c =================================================================== --- trunk/drivers/xwin.c 2010-11-01 22:19:45 UTC (rev 11295) +++ trunk/drivers/xwin.c 2010-11-01 22:41:50 UTC (rev 11296) @@ -1259,7 +1259,7 @@ dev->exit_eventloop = FALSE; } -//------------------------------------------------------------\* +//-------------------------------------------------------------------------- // events_thread() // // This function is being running continously by a tread and is Modified: trunk/scripts/convert_comment.py =================================================================== --- trunk/scripts/convert_comment.py 2010-11-01 22:19:45 UTC (rev 11295) +++ trunk/scripts/convert_comment.py 2010-11-01 22:41:50 UTC (rev 11296) @@ -178,7 +178,7 @@ # Remove "*\" from end of comment lines line = re.sub(r'^//(.*)\*\\$', "//\\1", line) # Convert long "horizontal line" comment forms to standard form. - line = re.sub(r'^// *[-*=/ ]{50,200}$', "//--------------------------------------------------------------------------", line) + line = re.sub(r'^// *[-*=/+_\\# ]{50,200}$', "//--------------------------------------------------------------------------", line) # Look for trailing continuation after comment lines and # complain if you find any. start_special = line.rfind("\\") Modified: trunk/src/pdfutils.c =================================================================== --- trunk/src/pdfutils.c 2010-11-01 22:19:45 UTC (rev 11295) +++ trunk/src/pdfutils.c 2010-11-01 22:41:50 UTC (rev 11296) @@ -720,7 +720,7 @@ // lsb means least significant bit // // 1 8 23 -// _____________________________________________________________________ +//-------------------------------------------------------------------------- // | | | | // | s | e | f | // |___|________________|______________________________________________| @@ -734,7 +734,7 @@ // lsb means least significant bit // // 1 11 52 -// _____________________________________________________________________ +//-------------------------------------------------------------------------- // | | | | // | s | e | f | // |___|________________|______________________________________________| This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |