home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / h2d130.zip / BIN / h2d.cfg next >
Text File  |  1997-07-12  |  3KB  |  69 lines

  1. -DEFEXT  = def    % OUTPUT FILES EXTENSIONS
  2. -HEADEXT = h
  3. -MODEXT  = mod
  4. -PRJEXT  = prj
  5. -TREEEXT = inc
  6. -DIREXT  = dir
  7.  
  8. -DEFPFX = h2d_    % prefix for output definition modules
  9. -MACPFX = m_      % prefix for macro prototype modules
  10.  
  11. -BACKEND = COMMON % M2 compiler compatibility mode: C, NATIVE, COMMON
  12. -GENMACRO-        % do not generate macro prototype modules
  13. -GENWIDTH = 70    % maximum string length in output files
  14. -COMMENTPOS = 0   % comment position
  15. -CHANGEDEF+       % allow to overwrite existing definition modules
  16. -PROGRESS+        % enable progress indicator
  17. -CSTDLIB-         % do not set C standard library option
  18. -CPPCOMMENTS+     % recognize C++ comments
  19. -MERGEALL+        % merge all #included headers
  20. -GENSEP-          % separate merged headers with comments
  21. -GENLONGNAMES-    % prepen module name with directory names
  22. -GENENUM = CONST  % enum transtaltion mode: CONST, ENUM, AUTO
  23. -GENTREE +        % create file with include/merge tree
  24. -GENDIRS +        % extract non-standrard directives
  25. -GENROVARS+       % translate constants to read-only variables
  26.  
  27. % C BASE TYPES SYNONYMS:
  28.  
  29. -ctype = signed char        =  1, CHAR
  30. -ctype = signed int         =  4, SYSTEM.int
  31. -ctype = signed short int   =  2, SYSTEM.INT16
  32. -ctype = signed long int    =  4, LONGINT
  33. -ctype = unsigned char      =  1, SHORTCARD
  34. -ctype = unsigned int       =  4, SYSTEM.unsigned
  35. -ctype = unsigned short int =  2, SYSTEM.CARD16
  36. -ctype = unsigned long int  =  4, LONGCARD
  37. -ctype = float              =  4, REAL
  38. -ctype = double             =  8, LONGREAL
  39. -ctype = long float         =  8, UNDEF
  40. -ctype = long double        =  8, UNDEF
  41.  
  42. % MODULA-2 TYPES:
  43.  
  44. -m2type = INTEGER         = 4, SIGNED
  45. -m2type = SHORTINT        = 1, SIGNED
  46. -m2type = LONGINT         = 4, SIGNED
  47. -m2type = CARDINAL        = 4, UNSIGNED
  48. -m2type = SHORTCARD       = 1, UNSIGNED
  49. -m2type = LONGCARD        = 4, UNSIGNED
  50. -m2type = CHAR            = 1, CHAR
  51. -m2type = BITSET          = 4, SET
  52. -m2type = BOOLEAN         = 1, BOOL
  53. -m2type = REAL            = 4, REAL
  54. -m2type = LONGREAL        = 8, REAL
  55. -m2type = SYSTEM.BOOL8    = 1, BOOL
  56. -m2type = SYSTEM.BOOL16   = 2, BOOL
  57. -m2type = SYSTEM.BOOL32   = 4, BOOL
  58. -m2type = SYSTEM.INT8     = 1, SIGNED
  59. -m2type = SYSTEM.INT16    = 2, SIGNED
  60. -m2type = SYSTEM.INT32    = 4, SIGNED
  61. -m2type = SYSTEM.CARD8    = 1, UNSIGNED
  62. -m2type = SYSTEM.CARD16   = 2, UNSIGNED
  63. -m2type = SYSTEM.CARD32   = 4, UNSIGNED
  64. -m2type = SYSTEM.SET8     = 1, SET
  65. -m2type = SYSTEM.SET16    = 2, SET
  66. -m2type = SYSTEM.SET32    = 4, SET
  67. -m2type = SYSTEM.int      = 4, SIGNED
  68. -m2type = SYSTEM.unsigned = 4, UNSIGNED
  69.