• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

syntax_highlight/php/HFile/HFile_c167complink.php

Go to the documentation of this file.
00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005   class HFile_c167complink extends HFile{
00006    function HFile_c167complink(){
00007      $this->HFile();    
00008 /*************************************/
00009 // Beautifier Highlighting Configuration File 
00010 // 'C' for C167
00011 /*************************************/
00012 // Flags
00013 
00014 $this->nocase                   = "0";
00015 $this->notrim                   = "0";
00016 $this->perl                     = "0";
00017 
00018 // Colours
00019 
00020 $this->colours          = array("blue", "purple", "gray", "brown", "blue");
00021 $this->quotecolour              = "blue";
00022 $this->blockcommentcolour       = "green";
00023 $this->linecommentcolour        = "green";
00024 
00025 // Indent Strings
00026 
00027 $this->indent                   = array("{");
00028 $this->unindent                 = array("}");
00029 
00030 // String characters and delimiters
00031 
00032 $this->stringchars              = array("\"", "'");
00033 $this->delimiters               = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", "      ", "?");
00034 $this->escchar                  = "";
00035 
00036 // Comment settings
00037 
00038 $this->linecommenton            = array("//");
00039 $this->blockcommenton           = array("/*");
00040 $this->blockcommentoff          = array("*/");
00041 
00042 // Keywords (keyword mapping to colour number)
00043 
00044 $this->keywords                 = array(
00045                         "#define" => "1", 
00046                         "#else" => "1", 
00047                         "#endif" => "1", 
00048                         "#if" => "1", 
00049                         "#ifdef" => "1", 
00050                         "#ifndef" => "1", 
00051                         "#include" => "1", 
00052                         "#pragma" => "1", 
00053                         "#undef" => "1", 
00054                         "alias" => "1", 
00055                         "align" => "1", 
00056                         "asm" => "1", 
00057                         "asm_noflush" => "1", 
00058                         "automatic" => "1", 
00059                         "class" => "1", 
00060                         "clear" => "1", 
00061                         "combine" => "1", 
00062                         "cse" => "1", 
00063                         "default_attributes" => "1", 
00064                         "define" => "1", 
00065                         "endasm" => "1", 
00066                         "eramdata" => "1", 
00067                         "fix_byte_write" => "1", 
00068                         "global" => "1", 
00069                         "include" => "1", 
00070                         "iramdata" => "1", 
00071                         "macro" => "1", 
00072                         "noalias" => "1", 
00073                         "noclear" => "1", 
00074                         "nofix_byte_write" => "1", 
00075                         "noframe" => "1", 
00076                         "nomacro" => "1", 
00077                         "nosource" => "1", 
00078                         "public" => "1", 
00079                         "regdef" => "1", 
00080                         "restore_attributes" => "1", 
00081                         "romdata" => "1", 
00082                         "save_attributes" => "1", 
00083                         "size" => "1", 
00084                         "source" => "1", 
00085                         "speed" => "1", 
00086                         "static" => "1", 
00087                         "switch_force_table" => "1", 
00088                         "switch_smart" => "1", 
00089                         "_at" => "2", 
00090                         "_atbit" => "2", 
00091                         "bit" => "2", 
00092                         "bita" => "2", 
00093                         "bitword" => "2", 
00094                         "break" => "2", 
00095                         "case" => "2", 
00096                         "char" => "2", 
00097                         "const" => "2", 
00098                         "continue" => "2", 
00099                         "default" => "2", 
00100                         "do" => "2", 
00101                         "double" => "2", 
00102                         "else" => "2", 
00103                         "esfr" => "2", 
00104                         "esfrbit" => "2", 
00105                         "extern" => "2", 
00106                         "far" => "2", 
00107                         "float" => "2", 
00108                         "for" => "2", 
00109                         "goto" => "2", 
00110                         "huge" => "2", 
00111                         "if" => "2", 
00112                         "int" => "2", 
00113                         "iram" => "2", 
00114                         "long" => "2", 
00115                         "near" => "2", 
00116                         "register" => "2", 
00117                         "return" => "2", 
00118                         "sfr" => "2", 
00119                         "sfrbit" => "2", 
00120                         "signed" => "2", 
00121                         "size_t" => "2", 
00122                         "struct" => "2", 
00123                         "switch" => "2", 
00124                         "system" => "2", 
00125                         "typedef" => "2", 
00126                         "unsigned" => "2", 
00127                         "void" => "2", 
00128                         "volatile" => "2", 
00129                         "while" => "2", 
00130                         "_fstrcat" => "3", 
00131                         "_fstrchr" => "3", 
00132                         "_fstrcmp" => "3", 
00133                         "_fstrcpy" => "3", 
00134                         "_fstrcspn" => "3", 
00135                         "_fstrlen" => "3", 
00136                         "_fstrncat" => "3", 
00137                         "_fstrncmp" => "3", 
00138                         "_fstrncpy" => "3", 
00139                         "_fstrpbrk" => "3", 
00140                         "_fstrrchr" => "3", 
00141                         "_fstrspn" => "3", 
00142                         "_fstrstr" => "3", 
00143                         "_fstrtok" => "3", 
00144                         "_hstrcat" => "3", 
00145                         "_hstrchr" => "3", 
00146                         "_hstrcmp" => "3", 
00147                         "_hstrcpy" => "3", 
00148                         "_hstrcspn" => "3", 
00149                         "_hstrlen" => "3", 
00150                         "_hstrncat" => "3", 
00151                         "_hstrncmp" => "3", 
00152                         "_hstrncpy" => "3", 
00153                         "_hstrpbrk" => "3", 
00154                         "_hstrrchr" => "3", 
00155                         "_hstrspn" => "3", 
00156                         "_hstrstr" => "3", 
00157                         "_hstrtok" => "3", 
00158                         "_ioread" => "3", 
00159                         "_iowrite" => "3", 
00160                         "_stime" => "3", 
00161                         "_time" => "3", 
00162                         "_tolower" => "3", 
00163                         "_toupper" => "3", 
00164                         "_tzset" => "3", 
00165                         "abort" => "3", 
00166                         "abs" => "3", 
00167                         "acos" => "3", 
00168                         "asctime" => "3", 
00169                         "asin" => "3", 
00170                         "assert" => "3", 
00171                         "assert.h" => "3", 
00172                         "atan" => "3", 
00173                         "atan2" => "3", 
00174                         "atexit" => "3", 
00175                         "atof" => "3", 
00176                         "atoi" => "3", 
00177                         "atol" => "3", 
00178                         "bsearch" => "3", 
00179                         "c166.h" => "3", 
00180                         "calloc" => "3", 
00181                         "ceil" => "3", 
00182                         "clearerr" => "3", 
00183                         "clock" => "3", 
00184                         "cos" => "3", 
00185                         "cosh" => "3", 
00186                         "ctime" => "3", 
00187                         "ctype.h" => "3", 
00188                         "difftime" => "3", 
00189                         "div" => "3", 
00190                         "errno.h" => "3", 
00191                         "exit" => "3", 
00192                         "exp" => "3", 
00193                         "fabs" => "3", 
00194                         "fclose" => "3", 
00195                         "feof" => "3", 
00196                         "ferror" => "3", 
00197                         "fflush" => "3", 
00198                         "fgetc" => "3", 
00199                         "fgets" => "3", 
00200                         "float.h" => "3", 
00201                         "floor" => "3", 
00202                         "fmod" => "3", 
00203                         "fopen" => "3", 
00204                         "fprintf" => "3", 
00205                         "fputc" => "3", 
00206                         "fputs" => "3", 
00207                         "fread" => "3", 
00208                         "free" => "3", 
00209                         "freopen" => "3", 
00210                         "frexp" => "3", 
00211                         "fscanf" => "3", 
00212                         "fwrite" => "3", 
00213                         "getc" => "3", 
00214                         "getchar" => "3", 
00215                         "gets" => "3", 
00216                         "gmtime" => "3", 
00217                         "isalnum" => "3", 
00218                         "isalpha" => "3", 
00219                         "isascii" => "3", 
00220                         "iscntrl" => "3", 
00221                         "isdigit" => "3", 
00222                         "isgraph" => "3", 
00223                         "islower" => "3", 
00224                         "isprint" => "3", 
00225                         "ispunct" => "3", 
00226                         "isspace" => "3", 
00227                         "isupper" => "3", 
00228                         "isxdigit" => "3", 
00229                         "labs" => "3", 
00230                         "ldexp" => "3", 
00231                         "ldiv" => "3", 
00232                         "limits.h" => "3", 
00233                         "locale.h" => "3", 
00234                         "localtime" => "3", 
00235                         "log" => "3", 
00236                         "log10" => "3", 
00237                         "longjmp" => "3", 
00238                         "malloc" => "3", 
00239                         "malloc.h" => "3", 
00240                         "math.h" => "3", 
00241                         "memchr" => "3", 
00242                         "memcmp" => "3", 
00243                         "memcpffb" => "3", 
00244                         "memcpffw" => "3", 
00245                         "memcpfhb" => "3", 
00246                         "memcpfhw" => "3", 
00247                         "memcpfnb" => "3", 
00248                         "memcpfnw" => "3", 
00249                         "memcphfb" => "3", 
00250                         "memcphfw" => "3", 
00251                         "memcphhb" => "3", 
00252                         "memcphhw" => "3", 
00253                         "memcphnb" => "3", 
00254                         "memcphnw" => "3", 
00255                         "memcpnnb" => "3", 
00256                         "memcpnnw" => "3", 
00257                         "memcpy" => "3", 
00258                         "memmove" => "3", 
00259                         "memset" => "3", 
00260                         "mktime" => "3", 
00261                         "modf" => "3", 
00262                         "offsetof" => "3", 
00263                         "pow" => "3", 
00264                         "printf" => "3", 
00265                         "putc" => "3", 
00266                         "putchar" => "3", 
00267                         "puts" => "3", 
00268                         "qsort" => "3", 
00269                         "rand" => "3", 
00270                         "realloc" => "3", 
00271                         "reg163.h" => "3", 
00272                         "reg165.h" => "3", 
00273                         "reg166.h" => "3", 
00274                         "reg167.h" => "3", 
00275                         "scanf" => "3", 
00276                         "setbuf" => "3", 
00277                         "setjmp" => "3", 
00278                         "setjmp.h" => "3", 
00279                         "setvbuf" => "3", 
00280                         "signal.h" => "3", 
00281                         "sin" => "3", 
00282                         "sinh" => "3", 
00283                         "sprintf" => "3", 
00284                         "sqrt" => "3", 
00285                         "srand" => "3", 
00286                         "sscanf" => "3", 
00287                         "stdarg.h" => "3", 
00288                         "stddef.h" => "3", 
00289                         "stdio.h" => "3", 
00290                         "stdlib.h" => "3", 
00291                         "strcat" => "3", 
00292                         "strchr" => "3", 
00293                         "strcmp" => "3", 
00294                         "strcpy" => "3", 
00295                         "strcspn" => "3", 
00296                         "strftime" => "3", 
00297                         "string.h" => "3", 
00298                         "strlen" => "3", 
00299                         "strncat" => "3", 
00300                         "strncmp" => "3", 
00301                         "strncpy" => "3", 
00302                         "strpbrk" => "3", 
00303                         "strrchr" => "3", 
00304                         "strspn" => "3", 
00305                         "strstr" => "3", 
00306                         "strtod" => "3", 
00307                         "strtok" => "3", 
00308                         "strtol" => "3", 
00309                         "strtoul" => "3", 
00310                         "tan" => "3", 
00311                         "tanh" => "3", 
00312                         "time" => "3", 
00313                         "time.h" => "3", 
00314                         "toascii" => "3", 
00315                         "tolower" => "3", 
00316                         "toupper" => "3", 
00317                         "ungetc" => "3", 
00318                         "va_arg" => "3", 
00319                         "va_end" => "3", 
00320                         "va_start" => "3", 
00321                         "vfprintf" => "3", 
00322                         "vprintf" => "3", 
00323                         "vsprintf" => "3", 
00324                         "ASSERT_INC" => "4", 
00325                         "C166_INC" => "4", 
00326                         "CTYPE_INC" => "4", 
00327                         "EOF" => "4", 
00328                         "ERRNO_INC" => "4", 
00329                         "FLOAT_INC" => "4", 
00330                         "LIMITS_INC" => "4", 
00331                         "LOCALE_INC" => "4", 
00332                         "MATH_INC" => "4", 
00333                         "NDEBUG" => "4", 
00334                         "NULL" => "4", 
00335                         "REG163_INC" => "4", 
00336                         "REG163_NOADINT" => "4", 
00337                         "REG163_NOCPU" => "4", 
00338                         "REG163_NOEXTINT" => "4", 
00339                         "REG163_NOPEC" => "4", 
00340                         "REG163_NOPORT" => "4", 
00341                         "REG163_NORS232" => "4", 
00342                         "REG163_NOTIMER" => "4", 
00343                         "REG165_INC" => "4", 
00344                         "REG165_NOADINT" => "4", 
00345                         "REG165_NOCPU" => "4", 
00346                         "REG165_NOEXTINT" => "4", 
00347                         "REG165_NOPEC" => "4", 
00348                         "REG165_NOPORT" => "4", 
00349                         "REG165_NORS232" => "4", 
00350                         "REG165_NOTIMER" => "4", 
00351                         "REG166_INC" => "4", 
00352                         "REG166_NOADC" => "4", 
00353                         "REG166_NOCAPCOM" => "4", 
00354                         "REG166_NOCPU" => "4", 
00355                         "REG166_NOPEC" => "4", 
00356                         "REG166_NOPORT" => "4", 
00357                         "REG166_NORS232" => "4", 
00358                         "REG166_NOTIMER" => "4", 
00359                         "REG167_INC" => "4", 
00360                         "REG167_NOADC" => "4", 
00361                         "REG167_NOADINT" => "4", 
00362                         "REG167_NOCAPCOM" => "4", 
00363                         "REG167_NOCPU" => "4", 
00364                         "REG167_NOPEC" => "4", 
00365                         "REG167_NOPORT" => "4", 
00366                         "REG167_NOPWM" => "4", 
00367                         "REG167_NORS232" => "4", 
00368                         "REG167_NOTIMER" => "4", 
00369                         "SETJMP_INC" => "4", 
00370                         "SIGNAL_INC" => "4", 
00371                         "STDARG_INC" => "4", 
00372                         "STDDEF_INC" => "4", 
00373                         "STDIO_INC" => "4", 
00374                         "STDLIB_INC" => "4", 
00375                         "STRING_INC" => "4", 
00376                         "TIME_INC" => "4", 
00377                         "!" => "5", 
00378                         "$" => "5", 
00379                         "&" => "5", 
00380                         "(" => "5", 
00381                         ")" => "5", 
00382                         "*" => "5", 
00383                         "+" => "5", 
00384                         "," => "5", 
00385                         "-" => "5", 
00386                         "." => "5", 
00387                         "//" => "5", 
00388                         "/" => "5", 
00389                         ":" => "5", 
00390                         ";" => "5", 
00391                         "<" => "5", 
00392                         "=" => "5", 
00393                         ">" => "5", 
00394                         "[" => "5", 
00395                         "]" => "5", 
00396                         "{" => "5", 
00397                         "|" => "5", 
00398                         "}" => "5", 
00399                         "~" => "5");
00400 
00401 // Special extensions
00402 
00403 // Each category can specify a PHP function that returns an altered
00404 // version of the keyword.
00405         
00406         
00407 
00408 $this->linkscripts      = array(
00409                         "1" => "donothing", 
00410                         "2" => "donothing", 
00411                         "3" => "donothing", 
00412                         "4" => "donothing", 
00413                         "5" => "donothing");
00414 }
00415 
00416 
00417 function donothing($keywordin)
00418 {
00419         return $keywordin;
00420 }
00421 
00422 }?>

Generated on Fri Dec 13 2013 09:06:39 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1