This file is indexed.

/usr/share/highlight/langDefs/rpg.lang is in highlight-common 3.8-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
-- Support inline SQL
dofile(HL_LANG_DIR.."sql.lang")

Description="RPG"


table.insert(Keywords,
  { Id=1,
    Regex=[[ ^\s*([CDEFHIOP]) ]],
  }
)

table.insert(Keywords,
  { Id=1,
    List={
"acq", "add", "adddur", "alloc", "andgt", "andlt", "andeq", "andne", "andge",
"andle", "begsr", "bitoff", "biton", "cabxx", "call", "callb", "callp", "casgt",
"caslt", "caseq", "casne", "casge", "casle", "cat", "chain", "check", "checkr",
"clear", "close", "commit", "comp", "dealloc", "define", "delete", "div", "do",
"dou", "dougt", "doult", "doueq", "doune", "douge", "doule", "dow", "dowgt",
"dowlt", "doweq", "downe", "dowge", "dowle", "dsply", "dump", "else", "endcs",
"enddo", "endfor", "endif", "endsl", "endsr", "eval", "evalr", "except",
"exfmt", "exsr", "extrct", "feod", "for", "force", "goto", "if", "ifgt", "iflt",
"ifeq", "ifne", "ifge", "ifle", "in", "iter", "kfld", "klist", "leave",
"leavesr", "lookup", "mhhzo", "mhlzo", "mlhzo", "mllzo", "move", "movea",
"movel", "mult", "mvr", "next", "occur", "open", "orgt", "orlt", "oreq", "orne",
"orge", "orle", "other", "out", "parm", "plist", "post", "read", "readc",
"reade", "readp", "readpe", "realloc", "rel", "reset", "return", "rolbk",
"scan", "select", "setgt", "setll", "setoff", "seton", "shtdn", "sorta", "sqrt",
"sub", "subdur", "subst", "tag", "test", "testb", "testn", "testz", "time",
"unlock", "update", "when", "whengt", "whenlt", "wheneq", "whenne", "whenge",
"whenle", "write", "xfoot", "xlate", "z-add", "z-sub" }
}
)

table.insert(Keywords,
  { Id=2,
    Regex=[[ %\w+ ]],
  }
)

table.insert(Keywords,
  { Id=3,
    Regex=[[ /[\w\-]+ ]],
  }
)

Comments={
  { Block=false,
    Delimiter= { [[^\s+(\*.*)]] },
  },
  { Block=false,
    Delimiter= { [[//]] },
  },
}

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:]]