[DOC] Stop unintentional references to builtin or standard names

This commit is contained in:
Nobuyoshi Nakada 2023-12-18 08:38:59 +09:00
parent 7bfa1c3dc9
commit e316128e3d
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -51,7 +51,10 @@ DATA.each_line {|s|
next
end
h[name] = default_value
COMMENTS[name] = comment if comment
if comment
# Stop unintentional references
COMMENTS[name] = comment.gsub(/\b(Data|Kernel|Process|Set|Socket|Time)\b/, '\\\\\\&')
end
}
DEFS = h.to_a