Rename "struct Global" to "struct Global_" to avoid PHP keyword
This commit is contained in:
parent
1aa6220041
commit
ae14ad0c4a
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
namespace ns {
|
namespace ns {
|
||||||
struct Global {
|
// "global" is a case-insensitive keyword in PHP.
|
||||||
|
struct Global_ {
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
struct Outer {
|
struct Outer {
|
||||||
struct Nested;
|
struct Nested;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue