aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lexilla/test/examples/hypertext/apostophe.php11
-rw-r--r--lexilla/test/examples/hypertext/apostophe.php.styled11
2 files changed, 22 insertions, 0 deletions
diff --git a/lexilla/test/examples/hypertext/apostophe.php b/lexilla/test/examples/hypertext/apostophe.php
new file mode 100644
index 000000000..ade729bfa
--- /dev/null
+++ b/lexilla/test/examples/hypertext/apostophe.php
@@ -0,0 +1,11 @@
+<?php
+# Test that currently fails as comment style not started in a number.
+# line-comment
+// line-comment
+/* comment */
+$foo = 0#comment
+$foo = 0//comment
+$foo = 0/*'*/;
+?>
+
+<br />
diff --git a/lexilla/test/examples/hypertext/apostophe.php.styled b/lexilla/test/examples/hypertext/apostophe.php.styled
new file mode 100644
index 000000000..0c27ab50c
--- /dev/null
+++ b/lexilla/test/examples/hypertext/apostophe.php.styled
@@ -0,0 +1,11 @@
+{18}<?php{118}
+{125}# Test that currently fails as comment style not started in a number.{118}
+{125}# line-comment{118}
+{125}// line-comment{118}
+{124}/* comment */{118}
+{123}$foo{118} {127}={118} {122}0{118}#comment
+{123}$foo{118} {127}={118} {122}0{127}//{118}comment
+{123}$foo{118} {127}={118} {122}0{127}/*{120}'*/;
+?>
+
+<br />