/usr/share/highlight/langDefs/octave.lang is in highlight-common 3.9-1+deb7u1.
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 | -- Language definition generated by lang2to3
Description="Octave"
Keywords={
{ Id=1,
List={"all_va_args", "elseif", "endfunction", "global", "return", "break", "end", "endif", "gplot", "try", "catch", "end_try_catch", "endwhile", "gsplot", "unwind_protect", "continue", "end_unwind_protect", "for", "ifunwind_protect_cleanup", "else", "endfor", "function", "persistent", "while"},
},
{ Id=2,
List={"DEFAULT_EXEC_PATH", "current_script_file_name", "max_recursion_depth", "variables_can_hide_functions", "DEFAULT_LOADPATH", "debug_on_error", "octave_core_file_formatwarn_assign_as_truth_value", "EDITOR", "debug_on_interrupt", "octave_core_file_limit", "warn_divide_by_zero", "EXEC_PATH", "debug_on_warning", "octave_core_file_namewarn_empty_list_elements", "FFTW_WISDOM_PROGRAM", "debug_symtab_lookups", "output_max_field_width", "warn_fortran_indexing", "IMAGEPATH", "default_save_formatoutput_precision", "warn_function_name_clash", "INFO_FILE", "echo_executing_commandspage_output_immediatelywarn_future_time_stamp", "INFO_PROGRAM", "fixed_point_format", "page_screen_output", "warn_imag_to_real", "LOADPATH", "gnuplot_binary", "print_answer_id_name", "warn_matlab_incompatible", "MAKEINFO_PROGRAM", "gnuplot_command_axes", "print_empty_dimensions", "warn_missing_semicolon", "PAGER", "gnuplot_command_end", "print_rhs_assign_val", "warn_neg_dim_as_zero", "PS1", "gnuplot_command_plot", "save_header_format_stringwarn_num_to_str", "PS2", "gnuplot_command_replot", "save_precision", "warn_precedence_change", "PS4", "gnuplot_command_splot", "saving_history", "warn_reload_forces_clear", "__kluge_procbuf_delay__", "gnuplot_command_title", "sighup_dumps_octave_core", "warn_resize_on_range_error", "__nargin__", "gnuplot_command_usingsigterm_dumps_octave_corewarn_separator_insert", "ansgnuplot_command_with", "silent_functions", "warn_single_quote_string", "automatic_replot", "gnuplot_has_frames", "split_long_rowswarn_str_to_num", "beep_on_errorhistory_file", "string_fill_char", "warn_undefined_return_values", "completion_append_char", "history_size", "struct_levels_to_print", "warn_variable_switch_label", "crash_dumps_octave_coreignore_function_time_stamp", "suppress_verbose_help_message"},
},
{ Id=3,
List={"abs", "asinh", "cosh", "floor", "isalpha", "isinf", "isspace", "real", "tan", "acos", "atan", "erf", "gammaisascii", "islower", "isupper", "roundtanh", "acoshatanherfc", "gammaln", "iscntrl", "isna", "isxdigitsign", "toascii", "angleceil", "exp", "imag", "isdigit", "isnanlgamma", "sin", "tolower", "arg", "conj", "finite", "is_nan_or_na", "isfiniteisprint", "log", "sinh", "toupper", "asin", "cos", "fix", "isalnum", "isgraph", "ispunct", "log10sqrt"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=false
Comments={
{ Block=false,
Delimiter= { [[#]] },
},
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-]]
--FIXME no default escchar param: regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])
|