1
Fork 0
mirror of https://github.com/Steffo99/riscv-plus.git synced 2024-10-16 14:37:34 +00:00

Spaces should be optional

This commit is contained in:
Steffo 2019-05-19 16:25:03 +02:00
parent f66e3b35b4
commit 5a6d156c7e

View file

@ -25,7 +25,7 @@
}
},
{
"match": "\\b([A-Za-z]+)\\s+([A-Za-z0-9_-]+)(,)\\s+([A-Za-z0-9_-]+)(\\()([A-Za-z0-9_-]+)(\\))",
"match": "\\b([A-Za-z]+)\\s*([A-Za-z0-9_-]+)(,)\\s*([A-Za-z0-9_-]+)(\\()([A-Za-z0-9_-]+)(\\))",
"name": "meta.line.instruction.parenthesis.riscv",
"captures": {
"1": {
@ -52,7 +52,7 @@
}
},
{
"match": "\\b([A-Za-z]+)(?:\\s+([A-Za-z0-9_-]+))?(?:(,)\\s+([A-Za-z0-9_-]+))?(?:(,)\\s+([A-Za-z0-9_-]+))?\\b",
"match": "\\b([A-Za-z]+)(?:\\s*([A-Za-z0-9_-]+))?(?:(,)\\s*([A-Za-z0-9_-]+))?(?:(,)\\s*([A-Za-z0-9_-]+))?\\b",
"name": "meta.line.instruction.riscv",
"captures": {
"1": {