Created
January 31, 2012 11:21
-
-
Save jef-n/1709985 to your computer and use it in GitHub Desktop.
SIP 4.13.1 fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ../orig/sip4-4.13.1/sipgen/parser.y 2011-12-19 13:29:28.000000000 +0100 | |
+++ sipgen/parser.y 2012-02-03 22:05:25.810230624 +0100 | |
@@ -792,7 +792,8 @@ exception: TK_EXCEPTION scopedname base | |
/* Complete the definition. */ | |
xd->iff->module = currentModule; | |
- appendCodeBlock(&xd->iff->hdrcode, $5.type_header_code); | |
+ if( $5.token == TK_TYPEHEADERCODE ) | |
+ appendCodeBlock(&xd->iff->hdrcode, $5.type_header_code); | |
xd->pyname = pyname; | |
xd->bibase = $3.bibase; | |
xd->base = $3.base; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment