Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ae14ad0c4ab934379dc035b5aa763ea6adc1157b 1 parent 1aa6220
@ojwb ojwb authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Examples/test-suite/nested_scope.i
View
3  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;
Please sign in to comment.
Something went wrong with that request. Please try again.