Permalink
Browse files

Rename "struct Global" to "struct Global_" to avoid PHP keyword

  • Loading branch information...
1 parent 1aa6220 commit ae14ad0c4ab934379dc035b5aa763ea6adc1157b @ojwb ojwb committed Feb 19, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 Examples/test-suite/nested_scope.i
@@ -6,7 +6,8 @@
%inline %{
namespace ns {
- struct Global {
+ // "global" is a case-insensitive keyword in PHP.
+ struct Global_ {
#ifdef __clang__
struct Outer {
struct Nested;

0 comments on commit ae14ad0

Please sign in to comment.