Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2015-11-25 23:44:16 +0000
committerTom Schindl2015-11-25 23:44:16 +0000
commit44f16b78669f4a9d0a8a35987b815f887c3c7ded (patch)
tree3c29652ae7df9f9e4d7ac1bbfff2ecdb97bfb13c
parenta6dc36f31f992a6b4c1b3fbbd1b4e8a1897e1785 (diff)
downloadorg.eclipse.efxclipse-44f16b78669f4a9d0a8a35987b815f887c3c7ded.tar.gz
org.eclipse.efxclipse-44f16b78669f4a9d0a8a35987b815f887c3c7ded.tar.xz
org.eclipse.efxclipse-44f16b78669f4a9d0a8a35987b815f887c3c7ded.zip
start adding gls
-rw-r--r--bundles/code/org.eclipse.fx.code.editor.ldef.langs/src/org/eclipse/fx/code/editor/ldef/langs/gls/gls.ldef31
1 files changed, 31 insertions, 0 deletions
diff --git a/bundles/code/org.eclipse.fx.code.editor.ldef.langs/src/org/eclipse/fx/code/editor/ldef/langs/gls/gls.ldef b/bundles/code/org.eclipse.fx.code.editor.ldef.langs/src/org/eclipse/fx/code/editor/ldef/langs/gls/gls.ldef
new file mode 100644
index 000000000..a2c8b5300
--- /dev/null
+++ b/bundles/code/org.eclipse.fx.code.editor.ldef.langs/src/org/eclipse/fx/code/editor/ldef/langs/gls/gls.ldef
@@ -0,0 +1,31 @@
+package org.eclipse.fx.code.editor.ldef.langs
+
+gls {
+ partitioning {
+ partition __dftl_partition_content_type
+ partition __gls_comment
+ rule {
+ single_line __gls_comment "//"
+ }
+ }
+ lexical_highlighting {
+ rule __dftl_partition_content_type whitespace javawhitespace {
+ default __gls_default
+ gls_shdType {
+ keywords [
+ "float", "int", "void", "bool"
+ , "mat2", "mat3", "mat4"
+ , "vec2", "vec3", "vec4", "ivec2", "ivec3", "ivec4", "bvec2", "bvec3", "bvec4"
+ , "sampler1D", "sampler2D", "sampler3D"
+ , "samplerCube", "sampler1DShadow", "sampler2DShadow"
+ ]
+ }
+ gls_shdSemantic {
+ keywords [
+ "attribute"
+ , "in", "out", "inout"
+ ]
+ }
+ }
+ }
+} \ No newline at end of file

Back to the top