aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lexilla/test/examples/makefile/SciTE.properties1
-rw-r--r--lexilla/test/examples/makefile/x.mak16
-rw-r--r--lexilla/test/examples/makefile/x.mak.styled16
3 files changed, 33 insertions, 0 deletions
diff --git a/lexilla/test/examples/makefile/SciTE.properties b/lexilla/test/examples/makefile/SciTE.properties
new file mode 100644
index 000000000..ddc87920e
--- /dev/null
+++ b/lexilla/test/examples/makefile/SciTE.properties
@@ -0,0 +1 @@
+lexer.*.mak=makefile
diff --git a/lexilla/test/examples/makefile/x.mak b/lexilla/test/examples/makefile/x.mak
new file mode 100644
index 000000000..d5bdb83e9
--- /dev/null
+++ b/lexilla/test/examples/makefile/x.mak
@@ -0,0 +1,16 @@
+# '# comment' comment=1
+# comment
+
+# '.SUFFIXES' target=5, ':' operator=4
+.SUFFIXES:
+
+# 'LD' identifier=3, '=' operator=4, 'link' default=0
+LD=link
+
+# '!IFDEF DEBUG' preprocessor=2
+!IFDEF DEBUG
+
+# '$(' ID EOL=9
+X=$(
+
+# End of file
diff --git a/lexilla/test/examples/makefile/x.mak.styled b/lexilla/test/examples/makefile/x.mak.styled
new file mode 100644
index 000000000..752ed5884
--- /dev/null
+++ b/lexilla/test/examples/makefile/x.mak.styled
@@ -0,0 +1,16 @@
+{1}# '# comment' comment=1
+# comment
+{0}
+{1}# '.SUFFIXES' target=5, ':' operator=4
+{5}.SUFFIXES{4}:{0}
+
+{1}# 'LD' identifier=3, '=' operator=4, 'link' default=0
+{3}LD{4}={0}link
+
+{1}# '!IFDEF DEBUG' preprocessor=2
+{2}!IFDEF DEBUG
+{0}
+{1}# '$(' ID EOL=9
+{3}X{4}={9}$(
+{0}
+{1}# End of file