diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 05b8a7ff78..6e32ae24b1 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,14 @@ The license applies to all entries newer than 2009-04-28. */ +2012-08-03 15:23 UTC+0200 Viktor Szakats (harbour syenar.net) + * doc/en/cmdline.txt + * doc/en/command.txt + * doc/en/compiler.txt + ! More spelling (command.txt, cmdline.txt). + ! compiler.txt synchronized with harbour /help output. + ; Patch by Alexey Myronenko + 2012-08-02 10:00 UTC+0200 Viktor Szakats (harbour syenar.net) * contrib/hbide/misc.prg % use core API instead of inferior local implementation diff --git a/harbour/doc/en/cmdline.txt b/harbour/doc/en/cmdline.txt index ebe6149234..749bea8527 100644 --- a/harbour/doc/en/cmdline.txt +++ b/harbour/doc/en/cmdline.txt @@ -87,7 +87,7 @@ * * Exceptions: * - * - Handlig of the /CREDIT undocumented switch on Harbour command line + * - Handling of the /CREDIT undocumented switch on Harbour command line * is unusual, check the current code for this. * * - The CLIPPER, HARBOUR and Harbour application command line parsing @@ -95,7 +95,7 @@ * * Notes: * - * - All occurences where a path is accepted, Harbour should handle the + * - All occurrences where a path is accepted, Harbour should handle the * quote char to specify path containing space, negative sign, slash, * or any other chars with special meaning. * diff --git a/harbour/doc/en/command.txt b/harbour/doc/en/command.txt index 15c09491d5..52a68fc302 100644 --- a/harbour/doc/en/command.txt +++ b/harbour/doc/en/command.txt @@ -197,7 +197,7 @@ * entire class. Each CLASSDATA exists only once, no matter how many * objects are created. A common usage is for a counter that is * incremented whenever an object is created and decremented when one - * is destroyed, thus monitoring the number of objects in existance + * is destroyed, thus monitoring the number of objects in existence * for this class. * * You can use the "AS " clause to enforce that the CLASSDATA is diff --git a/harbour/doc/en/compiler.txt b/harbour/doc/en/compiler.txt index 89d545ff7c..fe082807a8 100644 --- a/harbour/doc/en/compiler.txt +++ b/harbour/doc/en/compiler.txt @@ -41,6 +41,12 @@ * * The compiler generates all information required for debugging * + * /build display detailed version info + * ================= + * + * /credits display credits + * ================= + * * /d[=] #define * ================= * @@ -58,41 +64,66 @@ * /es2 - all warnings are treated as errors and no output * file is created. The exit code is set to a non-zero * value. - + * + * /fn[:[l|u]|-] set filename casing (l=lower u=upper) + * ================= + * + * /fd[:[l|u]|-] set directory casing (l=lower u=upper) + * ================= + * + * /fp[:] set path separator + * ================= + * + * /fs[-] turn filename space trimming on or off (default) + * ================= + * * /g output type generated is * ================= * * /gc[] output type: C source (.c) (default) - * : 0=compact 1=normal 2=verbose (default) - * 3=generate real C code instead of PCODE - * array called by a C wrapper. - * - * /go output type: Platform dependant object module + * : 0=compact (default) 1=normal 2=verbose + * 3=generate real C code * * /gh output type: Harbour Portable Object (.hrb) * - - * /i add #include file search path + * /gd[.] generate dependencies list into (.d) file + * + * /ge[] error output : 0=Clipper (default) + * 1=IDE friendly + * + * /i #include file search path * ================= * - * /k enable compatibility mode - * ================= + * /i[-|+] disable/enable support for INCLUDE envvar + * ================= * - * /kc clear all flags (strict CA-Cl*pper compatibility) + * /j[] generate i18n gettext file (.pot) + * ================= * - * /kh Harbour extensions (default) + * /k compilation mode (type -k? for more data) + * ================= * - * /ki HB_INLINE support enabled (default) + * /kc clear all flags (strict Clipper mode) * - * /kr use runtime settings for the macro compiler + * /kh Harbour mode (default) * - * /ks enable support for strings as array of bytes (default) + * /ko allow operator optimizations * - * /kx other Xbase++ dialects extensions (default) + * /ki enable support for HB_INLINE (default) * - * /kJ disable optimalization of jump and noop pcodes + * /kr runtime settings enabled * - * /k? invoke help information + * /ks allow indexed assignment on all types + * + * /kx extended Xbase++ mode (default) + * + * /ku strings in user encoding + * + * /kj turn off jump optimization in pcode + * + * /km turn off macrotext substitution + * + * /k? this info * * /l suppress line number information * ================= @@ -101,11 +132,14 @@ * the output file. The PROCLINE() function will return 0 for * modules compiled using this option. * - * /m compile current module only + * /m compile module only * ================= * - * /n no implicit starting procedure + * /n[] no implicit starting procedure * ================= + * : 0=no implicit starting procedure + * 1=no starting procedure at all + * 2=add starting procedure if necessary * * The compiler does not create a procedure with the same name as * the compiled file. This means that any declarations placed @@ -115,7 +149,7 @@ * placed at the beginning of the file and before the first * PROCEDURE/FUNCTION statement are ignored. * - * /o output file drive and/or path + * /o object file drive and/or path * ================= * * /p generate pre-processed output (.ppo) file @@ -124,13 +158,18 @@ * The compiler only creates the file that contains the result of * pre-processing the source file. * + * /p+ generate pre-processor trace (.ppt) file + * ================= + * * /q quiet * ================= * * The compiler does not print any messages during compiling * (except the copyright info). * - * /q0 be really quiet and don't display even the copyright info + * /q0 quiet and don't display program header + * + * /q2 disable all output messages * * /r[] request linker to search (or none) * ================= @@ -147,7 +186,7 @@ * for example: * #command ( => (,7 * - * /s syntax check only + * /s[m] syntax check only [minimal for dependencies list] * ================= * * The compiler checks the syntax only. No output file is generated. @@ -158,7 +197,13 @@ * Currently not used in Harbour (the Harbour compiler does not * create any temporary files). * - * /u[] use command definition set in (or none) + * /u[] use command def set in (or none) + * ================= + * + * /u+ add command def set from + * ================= + * + * /undef: #undef * ================= * * /v variables are assumed M-> @@ -168,7 +213,7 @@ * variables (private or public variables). If this switch is not * used then the scope of such variables is checked at runtime. * - * /w[] set warning level number (0..4, default 1) + * /w[] set warning level number (0..3, default 1) * ================= * * /w0 - no warnings @@ -182,11 +227,6 @@ * warns against declared types, or types which may be * calculated at compile time * - * /w4 - Enables warning about suspicious operations, which - * means if you mix undeclared types, or types which - * can not be calculated at compile time,together with - * declared types, a warning will be generated. - * * /x[] set symbol init function name prefix (for .c only) * ================= * @@ -196,14 +236,7 @@ * prefix can be used to suppress problems with duplicated symbols * during linking an application with some third party libraries. * - * /y trace lex & yacc activity - * ================= - * - * The Harbour compiler uses the FLEX and YACC utilities to parse - * the source code and to generate the required output file. This - * option traces the activity of these utilities. - * - * /z suppress logical shortcutting (.and. & .or.) + * /z suppress shortcutting (.and. & .or.) * ================= * * Compilation in batch mode.