Skip to content

Commit

Permalink
Changed "PSL" for "PATROL Scripting Language"
Browse files Browse the repository at this point in the history
  • Loading branch information
bertysentry committed Jan 27, 2021
1 parent 4d98ba7 commit fb1ef57
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,10 @@
"title": "Pascaligo",
"owner": "DefinitelyNotAGoat"
},
"psl": {
"title": "PATROL Scripting Language",
"owner": "bertysentry"
},
"pcaxis": {
"title": "PC-Axis",
"alias": "px",
Expand Down Expand Up @@ -910,10 +914,6 @@
"require": "clike",
"owner": "just-boris"
},
"psl": {
"title": "PSL",
"owner": "bertysentry"
},
"pug": {
"title": "Pug",
"require": ["markup", "javascript"],
Expand Down
1 change: 1 addition & 0 deletions components/prism-psl.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Prism.languages.psl = {
'variable': /\b(?:errno|exit_status|PslDebug)\b/,
'builtin': {
pattern: /\b(?:acos|add_diary|annotate|annotate_get|asctime|asin|atan|atexit|ascii_to_ebcdic|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|destroy_lock|dump_hist|date|destroy|difference|dget_text|dcget_text|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|floor|fmod|full_discovery|file|fopen|ftell|fseek|grep|get_vars|getenv|get|get_chan_info|get_ranges|get_text|gethostinfo|getpid|getpname|history_get_retention|history|index|int|is_var|intersection|isnumber|internal|in_transition|join|kill|length|lines|lock|lock_info|log|loge|log10|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|num_consoles|nthargf|nthline|nthlinef|num_bytes|print|proc_exists|process|popen|printf|pconfig|poplines|pow|PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|sopen|sqrt|srandom|subset|set|substr|system|sprintf|sort|subset|snmp_agent_config|_snmp_debug|snmp_agent_stop|snmp_agent_start|snmp_h_set|snmp_h_get_next|snmp_h_get|snmp_set|snmp_walk|snmp_get_next|snmp_get|snmp_config|snmp_close|snmp_open|snmp_trap_receive|snmp_trap_ignore|snmp_trap_listen|snmp_trap_send|snmp_trap_raise_std_trap|snmp_trap_register_im|splitline|strcasecmp|str_repeat|trim|tail|tan|tanh|time|tmpnam|tolower|toupper|trace_psl_process|text_domain|unlock|unique|union|unset|va_arg|va_start|write)\b/,
alias: 'builtin-function'
},
'foreach-variable': {
pattern: /(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-psl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/show-language/prism-show-language.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"opencl": "OpenCL",
"parigp": "PARI/GP",
"objectpascal": "Object Pascal",
"psl": "PATROL Scripting Language",
"pcaxis": "PC-Axis",
"px": "PC-Axis",
"peoplecode": "PeopleCode",
Expand All @@ -153,7 +154,6 @@
"promql": "PromQL",
"properties": ".properties",
"protobuf": "Protocol Buffers",
"psl": "PSL",
"purebasic": "PureBasic",
"pbfasm": "PureBasic",
"purs": "PureScript",
Expand Down
2 changes: 1 addition & 1 deletion plugins/show-language/prism-show-language.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb1ef57

Please sign in to comment.