Skip to content

Commit

Permalink
Add the common ".ada" as an accepted file extension.
Browse files Browse the repository at this point in the history
Add new extension to test file.
  • Loading branch information
Lucretia committed Dec 5, 2018
1 parent a74b847 commit 8991402
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tmain/map-removing.d/stdout-expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ MatLab *.m

[--map-<LANG>] adding *.m to Ada
=======================================
Ada *.adb *.ads *.Ada *.m
Ada *.adb *.ads *.Ada *.ada *.m
MatLab *.m
ObjectiveC *.mm *.m *.h

[--map-<LANG>] removing from *.m from ObjectiveC, and adding *.m to Ada
=======================================
Ada *.adb *.ads *.Ada *.m
Ada *.adb *.ads *.Ada *.ada *.m
MatLab *.m

[--map-<LANG>] guessing parser with adding *.m to Ada
Expand Down
2 changes: 1 addition & 1 deletion parsers/ada.c
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ static void findAdaTags(void)
/* parser definition function */
extern parserDefinition* AdaParser(void)
{
static const char *const extensions[] = { "adb", "ads", "Ada", NULL };
static const char *const extensions[] = { "adb", "ads", "Ada", "ada", NULL };
parserDefinition* def = parserNew("Ada");
def->kindTable = AdaKinds;
def->kindCount = ADA_KIND_COUNT;
Expand Down

0 comments on commit 8991402

Please sign in to comment.