compiler.pas 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. $Id$
  3. Fake compiler unit
  4. }
  5. unit compiler;
  6. interface
  7. function Compile(const cmd:string):longint;
  8. const
  9. { do we need to link }
  10. IsExe : boolean = false;
  11. implementation
  12. uses
  13. comphook;
  14. function Compile(const cmd:string):longint;
  15. begin
  16. status.verbosity:=V_Default;
  17. status.maxerrorcount:=50;
  18. do_comment(V_Error,'Fake Compiler');
  19. do_comment(V_Error,'Cmd = "'+cmd+'"');
  20. Compile:=0;
  21. end;
  22. end.
  23. {
  24. $Log$
  25. Revision 1.1 2000-07-13 09:48:33 michael
  26. + Initial import
  27. Revision 1.2 1999/11/18 13:38:11 pierre
  28. + IsExe var added
  29. Revision 1.1 1999/01/28 19:56:12 peter
  30. * moved to include compiler/gdb independent of each other
  31. Revision 1.3 1999/01/04 11:49:39 peter
  32. * 'Use tab characters' now works correctly
  33. + Syntax highlight now acts on File|Save As...
  34. + Added a new class to syntax highlight: 'hex numbers'.
  35. * There was something very wrong with the palette managment. Now fixed.
  36. + Added output directory (-FE<xxx>) support to 'Directories' dialog...
  37. * Fixed some possible bugs in Running/Compiling, and the compilation/run
  38. process revised
  39. Revision 1.2 1998/12/28 15:44:59 peter
  40. * use V_Error
  41. * set status.verbosity
  42. Revision 1.1 1998/12/22 14:27:54 peter
  43. * moved
  44. Revision 1.1 1998/12/10 23:54:28 peter
  45. * initial version of the FV IDE
  46. * initial version of a fake compiler
  47. }