# ITTVIS IDL language definition file # # Author: Chris Rimes # Mail: http://www.zone-of-avoidance.co.uk/contact/ # Date: 2008-06-18 # ------------------------------------------ # This file is intended for use with highlight, a free source code converter released under the GPL. # # The file is used to describe the keywords and special symbols of the IDL (Interactive Data # Language) programming language. See README in the highlight directory for details. $DESCRIPTION=Interactive Data Language $KW_LIST(kwa)=goto break return select case default if then endif else endelse while endwhile for endfor do begin repeat until pro function end and or not xor gt lt ge le eq ne common return compile_opt continue endcase endrep switch endswitch forward_function inherits mod of on_ioerror $KW_RE(kwd)=regex((,\s*?[$]?\s*?)(\w+?\s?=|/\w+)) $KW_RE(fndef)=regex(^\s*?([pP][rR][oO]|[fF][uU][nN][cC][tT][iI][oO][nN])\s+?(\w+),) $IGNORECASE=true $STRINGDELIMITERS=" ' $DIGIT=regex((?:'[0-9a-fA-F]+'[XO]?|(?:\d+[\.]?\d*|\d*[\.]?\d+)(?:[eEdD][\-\+]?\d*)?)[BSLU]?) $SL_COMMENT=; $ML_COMMENT=; $ALLOWNESTEDCOMMENTS=false $ESCCHAR=\ $ALLOWEXTESCAPE=false $SYMBOLS= ( ) [ ] { } , ; : & | < > ! = / * % + - $REFORMATTING=false