Skip to content

Commit 8b4c87d

Browse files
committed
added down #43
1 parent f699742 commit 8b4c87d

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

syntaxes/gdb.tmLanguage.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@
13531353
"patterns": [ { "include": "#frame-spec" } ],
13541354
"end": "$"
13551355
},
1356-
{
1356+
{
13571357
"name": "meta.command.select-frame.gdb",
13581358
"begin": "(?:^|\\G)[ \t]*\\b(sele(?:c(?:t(?:-(?:f(?:r(?:a(?:me?)?)?)?)?)?)?)?)[ \t]*",
13591359
"beginCaptures": { "1": { "name": "keyword.control.command.gdb" } },
@@ -1368,6 +1368,13 @@
13681368
"2": { "patterns": [ { "include": "#numeric"} ] }
13691369
}
13701370
},
1371+
{
1372+
"name": "meta.command.do.gdb",
1373+
"match": "(?:^|\\G)[ \t]*\\b(do(?:w(?:n(?:-(?:s(?:i(?:l(?:e(?:n(?:t(?:ly?)?)?)?)?)?)?)?)?)?)?)(?:[ \t]+([0-9]+))?[ \t]*$",
1374+
"captures": {
1375+
"1": { "name": "keyword.control.command.gdb" },
1376+
"2": { "patterns": [ { "include": "#numeric"} ] }
1377+
}
13711378
}
13721379
]
13731380
},

tests/tests/command/down.gdb

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
do 1
2+
dow 1
3+
down 1
4+
down- 1
5+
down-s 1
6+
down-si 1
7+
down-sil 1
8+
down-sile 1
9+
down-silen 1
10+
down-silent 1
11+
down-silentl 1
12+
down-silently 1

0 commit comments

Comments
 (0)