Index: lib/src/prism/tests/languages/bison/comment_feature.test |
diff --git a/lib/src/prism/tests/languages/bison/comment_feature.test b/lib/src/prism/tests/languages/bison/comment_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15ed152e153dd323b6bffcccfde1ef12209945f9 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/bison/comment_feature.test |
@@ -0,0 +1,25 @@ |
+// Foobar |
+/* Foo |
+bar */ |
+%% |
+// Foobar |
+/* Foo |
+bar */ |
+%% |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["bison", [ |
+ ["comment", "// Foobar"], |
+ ["comment", "/* Foo\r\nbar */"], |
+ ["punctuation", "%%"], |
+ ["comment", "// Foobar"], |
+ ["comment", "/* Foo\r\nbar */"], |
+ ["punctuation", "%%"] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for comments. |