From 06cc78d2ece2e9491ec2e06b1735d5678967c7e6 Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Tue, 25 Nov 2003 19:29:33 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5404 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/CHANGES.current | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 7e55be08f..3c4169caf 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -1,5 +1,21 @@ Version 1.3.20 (In progress) ============================ +11/25/2003: beazley + Fixed [ 756552 ] missing default argument class scope with "|". + This is really only a band-aid fix for use of class-enums in + expressions. For example: + + class A { + public: + enum Flag { flag1 = 0x1, flag2 = 0x2 }; + void foo(int x = flag1 | flag2); + }; + + Note: there are still some (more subtle) cases that are broken, + but hard to fix due to an issue with template expansion. Will + address later. + Reported by Dmitry Mironov. + 11/25/2003: beazley Incorporated [ 840878 ] support for %inline { ... } (PATCH). This adds support for the following: