|
923 | 923 | }
|
924 | 924 | },
|
925 | 925 | {
|
926 |
| - "match": "\\b(mask)[ \t]+(0x[a-fA-Z0-9]+)", |
| 926 | + "match": "\\b(mask)[ \t]+(0x\\h+)", |
927 | 927 | "captures": {
|
928 | 928 | "1": { "name": "support.function.suboption.gdb" },
|
929 | 929 | "2": { "name": "constant.character.escape.mask_value.gdb" }
|
|
1345 | 1345 | "1": { "name": "keyword.control.command.gdb" },
|
1346 | 1346 | "2": { "patterns" : [ { "include": "#location" } ] }
|
1347 | 1347 | }
|
| 1348 | + }, |
| 1349 | + { |
| 1350 | + "name": "meta.command.frame.gdb", |
| 1351 | + "begin": "(?:^|\\G)[ \t]*\\b(f(?:r(?:a(?:me?)?)?)?)\\b[ \t]*", |
| 1352 | + "beginCaptures": { "1": { "name": "keyword.control.command.gdb" } }, |
| 1353 | + "patterns": [ |
| 1354 | + { |
| 1355 | + "match": "\\b(l(?:e(?:v(?:el?)?)?)?[ \t]+)?\\b([0-9]+)[ \t]*$", |
| 1356 | + "captures": { |
| 1357 | + "1": { "name" : "support.function.option.gdb"}, |
| 1358 | + "2": { "patterns": [ { "include": "#numeric"} ] } |
| 1359 | + } |
| 1360 | + }, |
| 1361 | + { |
| 1362 | + "match": "\\b(ad(?:d(?:r(?:e(?:ss?)?)?)?)?[ \t]+)\\b(0x\\h+)[ \t]*$", |
| 1363 | + "captures": { |
| 1364 | + "1": { "name" : "support.function.option.gdb"}, |
| 1365 | + "2": { "patterns": [ { "include": "#numeric"} ] } |
| 1366 | + } |
| 1367 | + }, |
| 1368 | + { |
| 1369 | + "match": "\\b(f(?:u(?:n(?:c(?:t(?:i(?:on?)?)?)?)?)?)?[ \t]+)\\b(\\w+)[ \t]*$", |
| 1370 | + "captures": { |
| 1371 | + "1": { "name" : "support.function.option.gdb"}, |
| 1372 | + "2": { "patterns": [ { "include": "#location"} ] } |
| 1373 | + } |
| 1374 | + }, |
| 1375 | + { |
| 1376 | + "match": "\\b(v(?:i(?:ew?)?)?)\\b[ \t]+\\b(0x\\h+)\\b(?:[ \t]+\\b(0x\\h+))?[ \t]*$", |
| 1377 | + "captures": { |
| 1378 | + "1": { "name" : "support.function.option.gdb"}, |
| 1379 | + "2": { "patterns": [ { "include": "#numeric"} ] }, |
| 1380 | + "3": { "patterns": [ { "include": "#numeric"} ] } |
| 1381 | + } |
| 1382 | + } |
| 1383 | + ], |
| 1384 | + "end": "$" |
1348 | 1385 | }
|
| 1386 | + |
1349 | 1387 | ]
|
1350 | 1388 | },
|
1351 | 1389 | "block": {
|
|
0 commit comments