00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 $language_data = array (
00041 'LANG_NAME' => 'C (Mac)',
00042 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
00043 'COMMENT_MULTI' => array('/*' => '*/'),
00044 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00045 'QUOTEMARKS' => array("'", '"'),
00046 'ESCAPE_CHAR' => '\\',
00047 'KEYWORDS' => array(
00048 1 => array(
00049 'if', 'return', 'while', 'case', 'continue', 'default',
00050 'do', 'else', 'for', 'switch', 'goto'
00051 ),
00052 2 => array(
00053 'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
00054 'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
00055 'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
00056 'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
00057 'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
00058 'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
00059 'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
00060 'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
00061 'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
00062 'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam', 'NULL',
00063 'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
00064 'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
00065
00066 'kCFAllocatorDefault'
00067 ),
00068 3 => array(
00069 'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
00070 'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
00071 'ispunct', 'isspace', 'ispunct', 'isupper', 'isxdigit', 'tolower', 'toupper',
00072 'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
00073 'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
00074 'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp', 'asin', 'acos', 'atan', 'atan2',
00075 'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
00076 'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
00077 'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
00078 'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
00079 'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
00080 'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
00081 'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
00082 'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
00083 'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
00084 'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
00085 'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
00086 'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
00087 'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
00088 ),
00089 4 => array(
00090 'auto', 'char', 'const', 'double', 'float', 'int', 'long',
00091 'register', 'short', 'signed', 'sizeof', 'static', 'string', 'struct',
00092 'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
00093 'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
00094 'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
00095
00096 'CFArrayRef', 'CFDictionaryRef', 'CFMutableDictionaryRef', 'CFBundleRef', 'CFSetRef', 'CFStringRef',
00097 'CFURLRef', 'CFLocaleRef', 'CFDateFormatterRef', 'CFNumberFormatterRef', 'CFPropertyListRef',
00098 'CFTreeRef', 'CFWriteStreamRef', 'CFCharacterSetRef', 'CFMutableStringRef', 'CFNotificationRef',
00099 'CFNotificationRef', 'CFReadStreamRef', 'CFNull', 'CFAllocatorRef', 'CFBagRef', 'CFBinaryHeapRef',
00100 'CFBitVectorRef', 'CFBooleanRef', 'CFDataRef', 'CFDateRef', 'CFMachPortRef', 'CFMessagePortRef',
00101 'CFMutableArrayRef', 'CFMutableBagRef', 'CFMutableBitVectorRef', 'CFMutableCharacterSetRef',
00102 'CFMutableDataRef', 'CFMutableSetRef', 'CFNumberRef', 'CFPlugInRef', 'CFPlugInInstanceRef',
00103 'CFRunLoopRef', 'CFRunLoopObserverRef', 'CFRunLoopSourceRef', 'CFRunLoopTimerRef', 'CFSocketRef',
00104 'CFTimeZoneRef', 'CFTypeRef', 'CFUserNotificationRef', 'CFUUIDRef', 'CFXMLNodeRef', 'CFXMLParserRef',
00105 'CFXMLTreeRef'
00106 ),
00107 ),
00108 'SYMBOLS' => array(
00109 '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
00110 ),
00111 'CASE_SENSITIVE' => array(
00112 GESHI_COMMENTS => true,
00113 1 => false,
00114 2 => false,
00115 3 => false,
00116 4 => false,
00117 ),
00118 'STYLES' => array(
00119 'KEYWORDS' => array(
00120 1 => 'color: #0000ff;',
00121 2 => 'color: #0000ff;',
00122 3 => 'color: #0000dd;',
00123 4 => 'color: #0000ff;'
00124 ),
00125 'COMMENTS' => array(
00126 1 => 'color: #ff0000;',
00127 2 => 'color: #339900;',
00128 'MULTI' => 'color: #ff0000; font-style: italic;'
00129 ),
00130 'ESCAPE_CHAR' => array(
00131 0 => 'color: #666666; font-weight: bold;'
00132 ),
00133 'BRACKETS' => array(
00134 0 => 'color: #000000;'
00135 ),
00136 'STRINGS' => array(
00137 0 => 'color: #666666;'
00138 ),
00139 'NUMBERS' => array(
00140 0 => 'color: #0000dd;'
00141 ),
00142 'METHODS' => array(
00143 1 => 'color: #00eeff;',
00144 2 => 'color: #00eeff;'
00145 ),
00146 'SYMBOLS' => array(
00147 0 => 'color: #000000;'
00148 ),
00149 'REGEXPS' => array(
00150 ),
00151 'SCRIPT' => array(
00152 )
00153 ),
00154 'URLS' => array(
00155 1 => '',
00156 2 => '',
00157 3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAME}.html',
00158 4 => ''
00159 ),
00160 'OOLANG' => true,
00161 'OBJECT_SPLITTERS' => array(
00162 1 => '.',
00163 2 => '::'
00164 ),
00165 'REGEXPS' => array(
00166 ),
00167 'STRICT_MODE_APPLIES' => GESHI_NEVER,
00168 'SCRIPT_DELIMITERS' => array(
00169 ),
00170 'HIGHLIGHT_STRICT_BLOCK' => array(
00171 ),
00172 'TAB_WIDTH' => 4
00173 );
00174
00175 ?>