/usr/share/highlight/langDefs/upc.lang is in highlight-common 3.18-3build1.
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 | dofile(HL_LANG_DIR.."c.lang")
Description="UPC (and C, technically)"
-- append keywords to C keywords
table.insert(Keywords,
{ Id=1,
List={"upc_blocksizeof", "upc_elemsizeof", "upc_localsizeof", "shared", "strict", "relaxed", "upc_barrier", "upc_notify",
"upc_wait", "upc_fence"}
}
)
table.insert(Keywords,
{ Id=2,
List={"upc_lock_t"}
}
)
|