{
    "information_for_contributors": [
        "gnu elf information"
    ],
    "version": "1.0.0",
    "name": "elf.info",
    "scopeName": "source.elf.info",
    "patterns": [
        {
            "include": "#elf_header"
        },
        {
            "include": "#number"
        },
        {
            "include": "#string"
        }
    ],
    "repository": {
        "elf_header": {
            "match": "^\\s*([\\w\\/][\\w\\/\\s]+):\\s+(.*)",
            "captures": {
                "1": {
                    "name": "entity.name.type"
                },
                "2": {
                    "name": "string"
                }
            }
        },
        "number": {
            "match": "\\b([0-9a-f]+H|0x[0-9a-f]+|[0-9a-f]+)\\b",
            "captures": {
                "1": {
                    "name": "constant.numeric"
                }
            }
        },
        "string": {
            "match": "(\"[^\"]*\"|'[^']*')",
            "captures": {
                "1": {
                    "name": "string"
                }
            }
        }
    }
}