From 4a16efa3e43e35f0cc9efe3a67f620f0017c3d36 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 8 Apr 2013 18:41:23 +0000 Subject: Vendor import of llvm trunk r178860: http://llvm.org/svn/llvm-project/llvm/trunk@178860 --- .../TableGen.tmbundle/Syntaxes/TableGen.tmLanguage | 132 +++++++++++++++++++++ utils/textmate/TableGen.tmbundle/info.plist | 12 ++ 2 files changed, 144 insertions(+) create mode 100644 utils/textmate/TableGen.tmbundle/Syntaxes/TableGen.tmLanguage create mode 100644 utils/textmate/TableGen.tmbundle/info.plist (limited to 'utils/textmate/TableGen.tmbundle') diff --git a/utils/textmate/TableGen.tmbundle/Syntaxes/TableGen.tmLanguage b/utils/textmate/TableGen.tmbundle/Syntaxes/TableGen.tmLanguage new file mode 100644 index 000000000000..f3cf2d618fd5 --- /dev/null +++ b/utils/textmate/TableGen.tmbundle/Syntaxes/TableGen.tmLanguage @@ -0,0 +1,132 @@ + + + + + fileTypes + td + foldingStartMarker + /\*\*|\{\s*$ + foldingStopMarker + \*\*/|^\s*\} + name + TableGen + patterns + + + include + #comments + + + match + \b(def|let|in|code|dag|string|list|bits|bit|field|include|defm|foreach|class|multiclass|int)\b + name + keyword.control.tablegen + + + begin + " + end + " + name + string.quoted.double.untitled + patterns + + + match + \\. + name + constant.character.escape.tablegen + + + + + repository + + comments + + patterns + + + captures + + 1 + + name + meta.toc-list.banner.block.tablegen + + + match + ^/\* =(\s*.*?)\s*= \*/$\n? + name + comment.block.tablegen + + + begin + /\* + captures + + 0 + + name + punctuation.definition.comment.tablegen + + + end + \*/ + name + comment.block.tablegen + + + match + \*/.*\n + name + invalid.illegal.stray-comment-end.tablegen + + + captures + + 1 + + name + meta.toc-list.banner.line.tablegen + + + match + ^// =(\s*.*?)\s*=\s*$\n? + name + comment.line.banner.tablegen + + + begin + // + beginCaptures + + 0 + + name + punctuation.definition.comment.tablegen + + + end + $\n? + name + comment.line.double-slash.tablegen + patterns + + + match + (?>\\\s*\n) + name + punctuation.separator.continuation.tablegen + + + + + + + scopeName + source.tablegen + uuid + 3A090BFC-E74B-4993-8DAE-7CCF6D238A32 + + diff --git a/utils/textmate/TableGen.tmbundle/info.plist b/utils/textmate/TableGen.tmbundle/info.plist new file mode 100644 index 000000000000..c2f680ac519b --- /dev/null +++ b/utils/textmate/TableGen.tmbundle/info.plist @@ -0,0 +1,12 @@ + + + + + name + TableGen + ordering + + uuid + 96925448-7219-41E9-A7F0-8D5B70E9B877 + + -- cgit v1.3