aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/polygraph/files/patch-src::xparser::SynSym.h
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/polygraph/files/patch-src::xparser::SynSym.h')
-rw-r--r--benchmarks/polygraph/files/patch-src::xparser::SynSym.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/benchmarks/polygraph/files/patch-src::xparser::SynSym.h b/benchmarks/polygraph/files/patch-src::xparser::SynSym.h
new file mode 100644
index 000000000000..f13ebb464464
--- /dev/null
+++ b/benchmarks/polygraph/files/patch-src::xparser::SynSym.h
@@ -0,0 +1,13 @@
+--- src/xparser/SynSym.h.orig Thu Feb 26 18:21:19 2004
++++ src/xparser/SynSym.h Thu Feb 26 18:21:49 2004
+@@ -54,8 +54,8 @@
+ String theType;
+ };
+
+-#define SymCast(Type, var) ((Type&)((var).cast(Type##::TheType)))
+-#define ConstSymCast(Type, var) ((const Type&)((var).cast(Type##::TheType)))
++#define SymCast(Type, var) ((Type&)((var).cast(Type::TheType)))
++#define ConstSymCast(Type, var) ((const Type&)((var).cast(Type::TheType)))
+
+ inline ostream &operator <<(ostream &os, const SynSym &sym) { return sym.print(os); }
+