Apparently we never implemented this, (but we've got a GLSL 1.30 test
in piglit that is exercising this case).
---
 .../tests/097-paste-with-non-function-macro.c      |    3 +++
 .../097-paste-with-non-function-macro.c.expected   |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 src/glsl/glcpp/tests/097-paste-with-non-function-macro.c
 create mode 100644 
src/glsl/glcpp/tests/097-paste-with-non-function-macro.c.expected

diff --git a/src/glsl/glcpp/tests/097-paste-with-non-function-macro.c 
b/src/glsl/glcpp/tests/097-paste-with-non-function-macro.c
new file mode 100644
index 0000000..0f46835
--- /dev/null
+++ b/src/glsl/glcpp/tests/097-paste-with-non-function-macro.c
@@ -0,0 +1,3 @@
+#define PASTE_MACRO one ## token
+PASTE_MACRO
+
diff --git a/src/glsl/glcpp/tests/097-paste-with-non-function-macro.c.expected 
b/src/glsl/glcpp/tests/097-paste-with-non-function-macro.c.expected
new file mode 100644
index 0000000..af92187
--- /dev/null
+++ b/src/glsl/glcpp/tests/097-paste-with-non-function-macro.c.expected
@@ -0,0 +1,4 @@
+
+onetoken
+
+
-- 
1.7.6.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to