# Erlang lang definition file # by Caolan McMahon # from: http://caolanmcmahon.com/erlang_syntax_highlighting # patched by Miklos Vajna # further modifications by Lorenzo Bettini # and even further by Erik Søe Sørensen #==================== Keywords and other known names: ==================== # Actual keywords: keyword = "after|and|andalso|band|begin|bnot|bor|bsl|bsr|bxor|case|catch|cond|div|end|fun|if|let|not|of|or|orelse|query|receive|rem|try|when|xor" # Built-in functions - type tests: predef_func = "is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_function|is_integer|is_list|is_number|is_pid|is_port|is_record|is_record|is_reference|is_tuple" # Built-in functions - other guard functions: predef_func = "abs|bit_size|byte_size|element|float|hd|length|node|node|round|self|size|tl|trunc|tuple_size" # Built-in functions - others: predef_func = '(?|>=|++|--|=|!|<-|->" symbol = ':|@|\\|\"|\.'