Author: brane
Date: Mon Feb  9 10:23:53 2015
New Revision: 1658347

URL: http://svn.apache.org/r1658347
Log:
Partial fix for bindings build with Swig 3.0.x; fixes swig-pl and swig-rb.

* subversion/bindings/swig/svn_delta.i:
   Escape Python code block so that Swig doesn't error out on the comments,
   thinking they're unknown directives.

Modified:
    subversion/trunk/subversion/bindings/swig/svn_delta.i

Modified: subversion/trunk/subversion/bindings/swig/svn_delta.i
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/svn_delta.i?rev=1658347&r1=1658346&r2=1658347&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/svn_delta.i (original)
+++ subversion/trunk/subversion/bindings/swig/svn_delta.i Mon Feb  9 10:23:53 
2015
@@ -205,11 +205,11 @@ void _ops_get(int *num_ops, const svn_tx
 %include svn_delta_h.swg
 
 #ifdef SWIGPYTHON
-%pythoncode {
+%pythoncode %{
 # This function is for backwards compatibility only.
 # Use svn_txdelta_window_t.ops instead.
 svn_txdelta_window_t_ops_get = svn_txdelta_window_t._ops_get
-}
+%}
 #endif
 
 #ifdef SWIGRUBY


Reply via email to