Skip to content

Commit f699742

Browse files
committed
added up #43
1 parent 9f529c7 commit f699742

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

syntaxes/gdb.tmLanguage.json

+9
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,15 @@
13591359
"beginCaptures": { "1": { "name": "keyword.control.command.gdb" } },
13601360
"patterns": [ { "include": "#frame-spec" } ],
13611361
"end": "$"
1362+
},
1363+
{
1364+
"name": "meta.command.up.gdb",
1365+
"match": "(?:^|\\G)[ \t]*\\b(up(?:-(?:s(?:i(?:l(?:e(?:n(?:t(?:ly?)?)?)?)?)?)?)?)?)(?:[ \t]+([0-9]+))?[ \t]*$",
1366+
"captures": {
1367+
"1": { "name": "keyword.control.command.gdb" },
1368+
"2": { "patterns": [ { "include": "#numeric"} ] }
1369+
}
1370+
},
13621371
}
13631372
]
13641373
},

tests/tests/command/up.gdb

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

0 commit comments

Comments
 (0)