|
Karsten Hopp |
ecca56 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ecca56 |
Subject: Patch 7.3.132
|
|
Karsten Hopp |
ecca56 |
Fcc: outbox
|
|
Karsten Hopp |
ecca56 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ecca56 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ecca56 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ecca56 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ecca56 |
------------
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
Patch 7.3.132
|
|
Karsten Hopp |
ecca56 |
Problem: C++ style comments.
|
|
Karsten Hopp |
ecca56 |
Solution: Change to C comments.
|
|
Karsten Hopp |
ecca56 |
Files: src/if_python3.c
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
*** ../vim-7.3.131/src/if_python3.c 2010-11-16 19:25:56.000000000 +0100
|
|
Karsten Hopp |
ecca56 |
--- src/if_python3.c 2011-01-16 01:28:35.000000000 +0100
|
|
Karsten Hopp |
ecca56 |
***************
|
|
Karsten Hopp |
ecca56 |
*** 22,29 ****
|
|
Karsten Hopp |
ecca56 |
* Adaptations to support both python3.x and python2.x
|
|
Karsten Hopp |
ecca56 |
*/
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
! // uncomment this if used with the debug version of python
|
|
Karsten Hopp |
ecca56 |
! // #define Py_DEBUG
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
#include "vim.h"
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
--- 22,29 ----
|
|
Karsten Hopp |
ecca56 |
* Adaptations to support both python3.x and python2.x
|
|
Karsten Hopp |
ecca56 |
*/
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
! /* uncomment this if used with the debug version of python */
|
|
Karsten Hopp |
ecca56 |
! /* #define Py_DEBUG */
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
#include "vim.h"
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
***************
|
|
Karsten Hopp |
ecca56 |
*** 74,80 ****
|
|
Karsten Hopp |
ecca56 |
#define PyString_Size(obj) PyUnicode_GET_SIZE(obj)
|
|
Karsten Hopp |
ecca56 |
#define PyString_FromString(repr) PyUnicode_FromString(repr)
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
! #if defined(DYNAMIC_PYTHON3)
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
# ifndef WIN3264
|
|
Karsten Hopp |
ecca56 |
# include <dlfcn.h>
|
|
Karsten Hopp |
ecca56 |
--- 74,80 ----
|
|
Karsten Hopp |
ecca56 |
#define PyString_Size(obj) PyUnicode_GET_SIZE(obj)
|
|
Karsten Hopp |
ecca56 |
#define PyString_FromString(repr) PyUnicode_FromString(repr)
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
! #if defined(DYNAMIC_PYTHON3) || defined(PROTO)
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
# ifndef WIN3264
|
|
Karsten Hopp |
ecca56 |
# include <dlfcn.h>
|
|
Karsten Hopp |
ecca56 |
*** ../vim-7.3.131/src/version.c 2011-02-25 15:17:14.000000000 +0100
|
|
Karsten Hopp |
ecca56 |
--- src/version.c 2011-02-25 15:18:18.000000000 +0100
|
|
Karsten Hopp |
ecca56 |
***************
|
|
Karsten Hopp |
ecca56 |
*** 716,717 ****
|
|
Karsten Hopp |
ecca56 |
--- 716,719 ----
|
|
Karsten Hopp |
ecca56 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ecca56 |
+ /**/
|
|
Karsten Hopp |
ecca56 |
+ 132,
|
|
Karsten Hopp |
ecca56 |
/**/
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
--
|
|
Karsten Hopp |
ecca56 |
** Hello and Welcome to the Psychiatric Hotline **
|
|
Karsten Hopp |
ecca56 |
If you are obsessive-compulsive, please press 1 repeatedly.
|
|
Karsten Hopp |
ecca56 |
If you are co-dependent, please ask someone to press 2.
|
|
Karsten Hopp |
ecca56 |
If you have multiple personalities, please press 3, 4, 5 and 6.
|
|
Karsten Hopp |
ecca56 |
If you are paranoid-delusional, we know who you are and what you want
|
|
Karsten Hopp |
ecca56 |
- just stay on the line so we can trace the call.
|
|
Karsten Hopp |
ecca56 |
If you are schizophrenic, listen carefully and a little voice will
|
|
Karsten Hopp |
ecca56 |
tell you which number to press next.
|
|
Karsten Hopp |
ecca56 |
If you are manic-depressive, it doesn't matter which number you press
|
|
Karsten Hopp |
ecca56 |
- no one will answer.
|
|
Karsten Hopp |
ecca56 |
If you suffer from panic attacks, push every button you can find.
|
|
Karsten Hopp |
ecca56 |
If you are sane, please hold on - we have the rest of humanity on the
|
|
Karsten Hopp |
ecca56 |
other line and they desparately want to ask you a few questions.
|
|
Karsten Hopp |
ecca56 |
|
|
Karsten Hopp |
ecca56 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ecca56 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ecca56 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ecca56 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|