Skip to content

Commit

Permalink
heuristics: Fix wrong alphabetical sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-NotTheMuss committed Jan 25, 2022
1 parent 1a48c40 commit 5fe8fb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/linguist/heuristics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ named_patterns:
- '^[ \t]*(private|public|protected):$'
- 'std::\w+'
fortran: '^(?i:[c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)'
key_equals_value: '^[^#!;][^=]*='
gsc:
- '^\s*#\s*(using|insert|include|define|namespace)\s+\w+'
- '^\s*((autoexec|private)\s+)*function\s+((autoexec|private)\s+)*\w+\w*\('
- '^\s*((autoexec|private)\s+)*function\s+((autoexec|private)\s+)*\w+\s*\('
- '(level|self)\s+thread\s+(\[\[\s*(\w+\.)*\w+\s*\]\]|\w+)s*\([^\)]*\)\s*;'
- '^\s*#\s*(precache|using_animtree)\s*\('
key_equals_value: '^[^#!;][^=]*='
m68k:
- '(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b'
- '(?im)^\s*move(?:\.[bwl])?\s+(?:sr|usp),\s*[^\s]+'
Expand Down

0 comments on commit 5fe8fb1

Please sign in to comment.