Patch submitted by F. Postma for compiling on HP

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-02-10 22:19:03 +00:00
commit 4890710cde

View file

@ -661,7 +661,8 @@ class JAVA : public Language {
}
// Get any Java exception classes in the throw typemap
if (ParmList *throw_parm_list = Getattr(n,"throws")) {
ParmList *throw_parm_list = NULL;
if (throw_parm_list = Getattr(n,"throws")) {
Swig_typemap_attach_parms("throws", throw_parm_list, f);
for (p = throw_parm_list; p; p=nextSibling(p)) {
if ((tm = Getattr(p,"tmap:throws"))) {