{ "fileTypes": [ "cbl", "cpy", "cob", "dds", "ss", "wks", "pco" ], "name": "COBOL", "patterns": [ { "match": "(^[0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\\\*\\-][0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\*\\-][\\*/][> ]\\s*(?i:NOTE|FIXME|TODO|CHANGED).*$)", "name": "comment.line.note.python" }, { "match": "(^[0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\\\*\\-][0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\*\\-][0-9 a-zA-Z\\*\\-][\\*/].*$)", "name": "comment.line.set.cobol" }, { "match": "(?:^|\\s)((?i)\\$\\s*set.*ilusing)(?:$|.*$)", "name": "keyword.control.import" }, { "match": "(?:^|\\s)((?i)\\$\\s*set)(?:$|\\s.*$)", "name": "comment.line.set.cobol" }, { "match": "(\\*>\\s*(?i:NOTE|FIXME|TODO|CHANGED).*$)", "name": "comment.line.note.python" }, { "match": "(^ \\*.*$|^\\*.*$)", "name": "comment.line.rem.cobol" }, { "match": "(?:^|\\s)((?i)\\$\\s*(?i:if|else|then|display|xfd|end))(?:$|\\s.*$)", "name": "meta.preprocessor" }, { "match": "(?:^|\\s)>>(?i:if|else|elif|end-if)(?:$|\\s.*$)", "name": "invalid.illegal.cobol" }, { "match": "(^[0-9][0-9][0-9][0-9][0-9][0-9])", "name": "comment.line.rem.cobol" }, { "match": "(\\*>.*$)", "name": "comment.line.rem.cobol" }, { "match": "([nN][xX]|[hHxX])'\\h*'", "name": "constant.numeric.integer.hexadecimal.cobol" }, { "match": "([nN][xX]|[hHxX])'.*'", "name": "invalid.illegal.hexadecimal.cobol" }, { "match": "([nN][xX]|[hHxX])\"\\h*\"", "name": "constant.numeric.integer.hexadecimal.cobol" }, { "match": "([nN][xX]|[hHxX])\".*\"", "name": "invalid.illegal.hexadecimal.cobol" }, { "match": "[oO]\"[0-7]*\"", "name": "constant.numeric.integer.octal.cobol" }, { "match": "[oO]\".*\"", "name": "invalid.illegal.octal.cobol" }, { "captures": { "1": { "name": "keyword.verb.cobol" }, "2": { "name": "keyword.verb.cobol" }, "3": { "name": "comment.line.cobol" } }, "match": "((\\b(?|<=|>=|<>|\\+|\\-|\\*|\\/|b-and|b-or|b-xor|b-not|b-left|b-right|and|or|not|equals|equal|greater\\s*than|less\\s*than)(?=\\s|\\.)", "name": "keyword.operator.comparison.cobol" }, { "match": "\\b(?