You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-commits@lucene.apache.org by va...@apache.org on 2010/06/06 01:42:33 UTC
svn commit: r951791 - in /lucene/pylucene/trunk/jcc/jcc: __main__.py cpp.py
Author: vajda
Date: Sat Jun 5 23:42:33 2010
New Revision: 951791
URL: http://svn.apache.org/viewvc?rev=951791&view=rev
Log:
added documentation for --import
Modified:
lucene/pylucene/trunk/jcc/jcc/__main__.py
lucene/pylucene/trunk/jcc/jcc/cpp.py
Modified: lucene/pylucene/trunk/jcc/jcc/__main__.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/__main__.py?rev=951791&r1=951790&r2=951791&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/__main__.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/__main__.py Sat Jun 5 23:42:33 2010
@@ -19,6 +19,9 @@ if len(sys.argv) == 1 or '--help' in sys
include it in the distribution
--include JARFILE - include JARFILE in the distribution and add
it to the module's CLASSPATH
+ --import MODULE - link against the wrappers to classes shared
+ with MODULE instead of generating duplicate
+ and incompatible wrappers
--exclude CLASS - explicitly don't wrap CLASS
--package PACKAGE - add PACKAGE to the list of packages from
which dependencies are automatically wrapped
Modified: lucene/pylucene/trunk/jcc/jcc/cpp.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/cpp.py?rev=951791&r1=951790&r2=951791&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/cpp.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/cpp.py Sat Jun 5 23:42:33 2010
@@ -79,8 +79,9 @@ PRIMITIVES = { 'boolean': 'Z',
'short': 'S',
'void': 'V' }
-RESERVED = set(['delete', 'and', 'or', 'not', 'xor', 'union', 'NULL',
- 'register', 'const', 'bool', 'operator', 'typeof', 'asm'])
+RESERVED = set(['delete', 'and', 'or', 'not', 'xor', 'union',
+ 'register', 'const', 'bool', 'operator', 'typeof', 'asm',
+ 'NULL', 'DOMAIN'])
def cppname(name):