User: rinkrank
Date: 02/04/08 15:27:59
Modified: javacc Java1.2-b.jjt
Log:
-Fixed a bug related to XDoc.tags() reported by Konstantin on xdoclet-devel
-Disabled the "multi-threading". Deferring class loading is not necessary as all
classes will be loaded at some point anyway. Actually it makes things a bit faster.
See separate post about this.
Revision Changes Path
1.22 +6 -3 xjavadoc/javacc/Java1.2-b.jjt
Index: Java1.2-b.jjt
===================================================================
RCS file: /cvsroot/xdoclet/xjavadoc/javacc/Java1.2-b.jjt,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -r1.21 -r1.22
--- Java1.2-b.jjt 26 Mar 2002 00:16:41 -0000 1.21
+++ Java1.2-b.jjt 8 Apr 2002 22:27:59 -0000 1.22
@@ -73,6 +73,7 @@
}
}
+/*
private void notifyAndWait(SourceClass sourceClass) {
if(sourceClass.isOuterClass()) {
try {
@@ -90,6 +91,7 @@
}
}
}
+*/
private final StringBuffer _nameBuffer = new StringBuffer();
@@ -387,13 +389,14 @@
// if it wants to mutate or print the code
@set-compilation-unit@
+/*
// wake up the sourceClass. It's waiting in complete()
_log.debug("parse thread - in end of CompilationUnit for " +
sourceClass.qualifiedName() + " entering synchronized block.");
synchronized( sourceClass.getParseLock() ) {
_log.debug("parse thread is done. notifying main thread waiting in
complete().");
sourceClass.getParseLock().notify();
}
-
+*/
}
}
@@ -510,7 +513,7 @@
void ClassBody(SourceClass sourceClass, boolean halt) :
{
- notifyAndWait(sourceClass);
+ //notifyAndWait(sourceClass);
}
{
"{" ( ClassBodyDeclaration(sourceClass) )* "}"
@@ -642,7 +645,7 @@
sourceClass.setInterface( true );
setToken(sourceClass,it);
- notifyAndWait( sourceClass );
+ //notifyAndWait( sourceClass );
}
( InterfaceMemberDeclaration(sourceClass) )*
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
Sponsored by http://www.ThinkGeek.com/