Skip to content

Commit

Permalink
Merge pull request #2893 from github/extra-assembly
Browse files Browse the repository at this point in the history
Adding back assembly grammar for object dumps
  • Loading branch information
arfon committed Mar 19, 2016
1 parent de074f4 commit 0fe8544
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -671,3 +671,6 @@
[submodule "vendor/grammars/monkey"]
path = vendor/grammars/monkey
url = https://github.com/gingerbeardman/monkey.tmbundle
[submodule "vendor/grammars/assembly"]
path = vendor/grammars/assembly
url = https://github.com/nanoant/assembly.tmbundle
3 changes: 3 additions & 0 deletions grammars.yml
Expand Up @@ -168,6 +168,9 @@ vendor/grammars/asciidoc.tmbundle/:
vendor/grammars/asp.tmbundle:
- source.asp
- text.html.asp
vendor/grammars/assembly/:
- objdump.x86asm
- source.x86asm
vendor/grammars/atom-fsharp/:
- source.fsharp
- source.fsharp.fsi
Expand Down
8 changes: 4 additions & 4 deletions lib/linguist/languages.yml
Expand Up @@ -429,7 +429,7 @@ C-ObjDump:
type: data
extensions:
- .c-objdump
tm_scope: none
tm_scope: objdump.x86asm
ace_mode: assembly_x86

C2hs Haskell:
Expand Down Expand Up @@ -681,7 +681,7 @@ Cpp-ObjDump:
- .c++objdump
- .cpp-objdump
- .cxx-objdump
tm_scope: none
tm_scope: objdump.x86asm
aliases:
- c++-objdumb
ace_mode: assembly_x86
Expand Down Expand Up @@ -753,7 +753,7 @@ D-ObjDump:
type: data
extensions:
- .d-objdump
tm_scope: none
tm_scope: objdump.x86asm
ace_mode: assembly_x86

DIGITAL Command Language:
Expand Down Expand Up @@ -2422,7 +2422,7 @@ ObjDump:
type: data
extensions:
- .objdump
tm_scope: none
tm_scope: objdump.x86asm
ace_mode: assembly_x86

Objective-C:
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/assembly
Submodule assembly added at 0ef23e
25 changes: 25 additions & 0 deletions vendor/licenses/grammar/assembly.txt
@@ -0,0 +1,25 @@
---
type: grammar
name: assembly
license: mit
---
Copyright (c) 2012-2014 Adam Strzelecki

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
7 changes: 7 additions & 0 deletions vendor/licenses/grammar/monkey.txt
@@ -0,0 +1,7 @@
---
type: grammar
name: monkey
license: mit
curated: true
---
monkey.tmbundle is made available under the [MIT License](http://choosealicense.com/licenses/mit/).

0 comments on commit 0fe8544

Please sign in to comment.