home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 7 A / CHIP_HITWARE_7A.iso / Tools / PrintFile / Pp.txt < prev    next >
Text File  |  1998-02-02  |  4KB  |  102 lines

  1. #--------------------------------------------------------
  2. #
  3. # PP.TXT
  4. #
  5. # This files contains Pretty Print rules for PrintFile
  6. #
  7. # Author: Peter Lerup
  8. # Date:   97-12-04
  9. #
  10. #--------------------------------------------------------
  11. #
  12.  
  13. #
  14. # C
  15. #
  16. TYPE =.c|.h
  17. KEYWORDS = auto break case char const continue default do double else\
  18. enum extern float for goto if int long register return short signed\
  19. sizeof static struct switch typedef union unsigned void volatile while
  20. KEYWORD-STYLE = bold
  21. COMMENT-START = /*
  22. COMMENT-END = */
  23. COMMENT-SINGLE = //
  24. COMMENT-STYLE = italic
  25.  
  26. #
  27. # C++
  28. #
  29. TYPE =.cpp|.hpp
  30. KEYWORDS = auto break case catch char class const continue default\
  31. delete do double else enum extern float for friend goto if inline\
  32. int long new operator private protected public register return\
  33. short signed sizeof static struct switch this template throw try\
  34. typedef union unsigned virtual void volatile while
  35. KEYWORD-STYLE = bold
  36. COMMENT-START = /*
  37. COMMENT-END = */
  38. COMMENT-SINGLE = //
  39. COMMENT-STYLE = italic
  40.  
  41. #
  42. # Java
  43. #
  44. TYPE =.java|.jav
  45. KEYWORDS = break case catch char class const continue default do\
  46. double else float for goto if int long new private protected public\
  47. return short static switch this throw try void while false true\
  48. abstract boolean byte byvalue extends final finally implements import\
  49. instanceof interface native null package super synchronized throws volatile
  50. KEYWORD-STYLE = bold
  51. COMMENT-START = /*
  52. COMMENT-END = */
  53. COMMENT-SINGLE = //
  54. COMMENT-STYLE = italic
  55.  
  56. #
  57. # Pascal
  58. #
  59. TYPE =.pas|.p
  60. KEYWORD-CASE = no
  61. KEYWORDS = and array begin case const div do downto else end file for\
  62. function goto if in label mod nil not object of or packed procedure\
  63. program record repeat set then to type unit until uses var while\
  64. with xor
  65. KEYWORD-STYLE = underline
  66. COMMENT-START = {
  67. COMMENT-END = }
  68. COMMENT-STYLE = italic
  69.  
  70. #
  71. # Perl
  72. #
  73. TYPE =.pl
  74. KEYWORDS = abs accept alarm and atan2 bind binmode bless caller chdir chmod\
  75. chomp chop chown chr chroot close closedir cmp connect continue cos\
  76. crypt dbmclose dbmopen defined delete die do dump each else elsif\
  77. endgrent endhostent endnetent endprotoent endpwent endservent eof\
  78. eq eval exec exists exit exp fcntl fileno flock for foreach fork\
  79. format formline ge getc getgrent getgrgid getgrnam gethostbyaddr\
  80. gethostbyname gethostent getlogin getnetbyaddr getnetbyname\
  81. getnetent getpeername getpgrp getppid getpriority getprotobyname\
  82. getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname\
  83. getservbyport getservent getsockname getsockopt glob gmtime goto\
  84. grep gt hex if index int ioctl join keys kill last lc lcfirst le\
  85. length link listen local localtime log lstat lt m map mkdir msgctl\
  86. msgget msgrcv msgsnd my ne new next no not oct open opendir or ord\
  87. pack package pipe pop pos print printf prototype push q qq quotemeta\
  88. qw qx rand read readdir readline readlink readpipe recv redo ref\
  89. rename require reset return reverse rewinddir rindex rmdir s scalar\
  90. seek seekdir select semctl semget semop send setgrent sethostent\
  91. setnetent setpgrp setpriority setprotoent setpwent setservent\
  92. setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep\
  93. socket socketpair sort splice split sprintf sqrt srand stat study\
  94. sub substr symlink syscall sysopen sysread sysseek system syswrite\
  95. tell telldir tie tied time times tr truncate uc ucfirst umask undef\
  96. unless unlink unpack unshift untie until use utime values vec wait\
  97. waitpid wantarray warn while write x xor y
  98. KEYWORD-STYLE = bold
  99. COMMENT-SINGLE = #
  100. COMMENT-STYLE = italic
  101.  
  102.