-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3143 from masatake/cases-for-direction-flags
Units, docs(web): add cases for testing direction flags of langdef option
- Loading branch information
Showing
19 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
Units/flags-langdef-directions.r/bidirectional.d/args.ctags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--sort=no | ||
--fields=+{language} | ||
|
||
--langdef=Base | ||
--map-Base=.base | ||
--kinddef-Base=b,basefunc,functions in Base language | ||
--regex-Base=/(^[a-z0-9]+)\(/\1/b/ | ||
|
||
--langdef=Sub{base=Base}{bidirectional} | ||
--map-Sub=.sub | ||
--kinddef-Sub=s,subdef,definitions in Sub language | ||
--regex-Sub=/[ \t]*@def[ \t]+([a-z0-9]+).*;$/\1/d/ |
4 changes: 4 additions & 0 deletions
4
Units/flags-langdef-directions.r/bidirectional.d/expected.tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
f input.base /^f() [$/;" b language:Base | ||
v input.base /^ @def v 1;$/;" d language:Sub | ||
f0 input-0.sub /^f0() [$/;" b language:Base | ||
v0 input-0.sub /^ @def v0 1;$/;" d language:Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f0() [ | ||
@def v0 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f() [ | ||
@def v 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--sort=no | ||
--fields=+{language} | ||
|
||
--langdef=Base | ||
--map-Base=.base | ||
--kinddef-Base=b,basefunc,functions in Base language | ||
--regex-Base=/(^[a-z0-9]+)\(/\1/b/ | ||
|
||
--langdef=Sub{base=Base}{dedicated} | ||
--map-Sub=.sub | ||
--kinddef-Sub=s,subdef,definitions in Sub language | ||
--regex-Sub=/[ \t]*@def[ \t]+([a-z0-9]+).*;$/\1/d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f input.base /^f() [$/;" b language:Base | ||
f0 input-0.sub /^f0() [$/;" b language:Base | ||
v0 input-0.sub /^ @def v0 1;$/;" d language:Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f0() [ | ||
@def v0 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f() [ | ||
@def v 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--sort=no | ||
--fields=+{language} | ||
|
||
--langdef=Base | ||
--map-Base=.base | ||
--kinddef-Base=b,basefunc,functions in Base language | ||
--regex-Base=/(^[a-z0-9]+)\(/\1/b/ | ||
|
||
--langdef=Sub{base=Base} | ||
--map-Sub=.sub | ||
--kinddef-Sub=s,subdef,definitions in Sub language | ||
--regex-Sub=/[ \t]*@def[ \t]+([a-z0-9]+).*;$/\1/d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f input.base /^f() [$/;" b language:Base | ||
v input.base /^ @def v 1;$/;" d language:Sub | ||
v0 input-0.sub /^ @def v0 1;$/;" d language:Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f0() [ | ||
@def v0 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f() [ | ||
@def v 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--sort=no | ||
--fields=+{language} | ||
|
||
--langdef=Base | ||
--map-Base=.base | ||
--kinddef-Base=b,basefunc,functions in Base language | ||
--regex-Base=/(^[a-z0-9]+)\(/\1/b/ | ||
|
||
--langdef=Sub{base=Base}{shared} | ||
--map-Sub=.sub | ||
--kinddef-Sub=s,subdef,definitions in Sub language | ||
--regex-Sub=/[ \t]*@def[ \t]+([a-z0-9]+).*;$/\1/d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f input.base /^f() [$/;" b language:Base | ||
v input.base /^ @def v 1;$/;" d language:Sub | ||
v0 input-0.sub /^ @def v0 1;$/;" d language:Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f0() [ | ||
@def v0 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
f() [ | ||
@def v 1; | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters