Commit Graph

68 Commits

Author SHA1 Message Date
Patrick Mast
0574e1ab81 Updated build Nr's 1999-06-19 08:56:20 +00:00
David G. Holm
82c78a88f3 See ChangeLog entry 19990618-21:50 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-19 02:58:41 +00:00
Viktor Szakats
1ad06f0e48 *** empty log message *** 1999-06-18 16:27:26 +00:00
Ron Pinkas
ee56fca483 Ron Pinkas corrected spelling of suspicious 1999-06-18 13:13:48 +00:00
Ron Pinkas
7b47c59b9c 19990618-04:35 PST Ron Pinkas <Ron@Profit-Master.com>
* hberrors.h
    +added define WARN_ASSIGN_TYPE and WARN_ASSIGN_SUSPECTED

  * compiler.h
    +added struct STACK_VAL_TYPE *PSTAC_VAL_TYPE

  * harbour.l
    +added support for tokens AS NUMERIC, AS CHARACTER, AS LOGICAL, AS DATE, AS ARRAY, AS OBJECT
    *modified iLine to initialize to 0 rather than 1

  * harbour.y
    +added support for extended variable declaration with strong typing
    +added logic to support warnings on incompatible and suspecious variable assignments
1999-06-18 12:53:11 +00:00
Ryszard Glab
290366a8c3 See Changelog 19990618-07:50 1999-06-18 07:13:23 +00:00
Ron Pinkas
55c69a0a18 19990615-23:20 PST Ron Pinkas <Ron@Profit-Master.com>
* compiler.h
    added member cType to struct VAR
  * harbour.y
    added { iVarScope = VS_MEMVAR; } to PRIVATE, PUBLIC, and PARAMETERS statements to avoid errounous error:
    "declaration follows executable statement"
    added: AliasExp '=' Expression Crlf { /* TODO */ GenPCode1( _POP ); }
    to statement definition to avoid parse error on M->Var = "Value" statments.
    the _POP will balance the stack but the assignment is not implemented yet.
    changed --iLine to iLine in yyerror() to correct errornous line numbers in parase error messages.
    added check for null pointer on few references to pVars->szName

  * hbpp.c, hbpmain.c, hbpint.c
    prefixed messages in all printf() with \n and postfixed with \n until modification to GenWarning() and GenError()
1999-06-18 04:50:48 +00:00
Gonzalo A. Diethelm
5582b1c2c6 ChangeLogTag:Thu Jun 17 11:34:35 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> 1999-06-17 16:42:52 +00:00
Eddie Runia
7d85392e66 see changelog 1999-06-17 11:25:12 +00:00
Alexander S.Kresin
e34fddc458 Harbour.y 1999-06-16 10:24:31 +00:00
Ron Pinkas
449e685a1f 19990615-23:20 PST Ron Pinkas <Ron@Profit-Master.com>
* compiler.h
    added member iUsed to struct VAR
  * hberrors.h
    added define of codeblock parameter not used warning
  * harbour.y
    removed PDECLARED_VAR struct definition
    removed code to maintain FunVars list
    added code to GetVarPos() to reflect use of declared variable
    added logic to FixReturns() and CodeBlockEnd() to generate warnings on non used decalred vaiables
    removed previous version of nonused declared variables warnings from FunDedf() and {Main}
1999-06-16 07:40:40 +00:00
Eddie Runia
520607e094 see changelog 1999-06-15 20:09:18 +00:00
Alexander S.Kresin
c59fb2106b Preprocessor integrated with compiler 1999-06-15 08:30:28 +00:00
Ryszard Glab
f9ef0a8ec6 See ChangeLog 19990615-08:30 1999-06-15 07:36:15 +00:00
Ryszard Glab
6bef4798f3 See ChangeLog 1990615-07:00 1999-06-15 06:14:45 +00:00
Eddie Runia
fc2201a766 see changelog 1999-06-14 10:57:36 +00:00
Ron Pinkas
90afad3419 19990612 10:57 PST Ron Pinkas
* source/compiler/harbour.y
        Added check on non used variables to be done at the end of source file so last         function will be tested too.
1999-06-12 19:25:51 +00:00
Patrick Mast
618121c5be release Build 26 1999-06-12 10:36:48 +00:00
Ron Pinkas
c51b0028ad Fri Jun 11 1999 19:35 PST Ron Pinkas
* source/compiler/harbour.y
        Moved code to check non used declared variable from GenReturn() to FunDef()
        Since Clipper function may have multiple RETURN statements
1999-06-12 06:13:28 +00:00
Gonzalo A. Diethelm
f231fe5dca ChangeLogTag:Fri Jun 11 19:14:22 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> 1999-06-12 00:22:06 +00:00
David G. Holm
bc9cbd58c8 See ChangeLog entry 19990610-22:35 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-11 03:43:22 +00:00
Ron Pinkas
85b04f0bc3 19990607-03:05 PST Ron Pinkas
* include/hberrors.h
    added WARN_VAR_NOT_USED
  * source/compiler/harbour.y
    added warning message "Variable \'%s\' declared but not used in function: %s"
    added linked list FunVars to record the usage of declared variables
    added logic to maintain FunVars
    added logic to check usage as per FunVars in GenReturn()
1999-06-07 11:15:02 +00:00
Ron Pinkas
ef155a77f6 19990606-16:42 PST Ron Pinkas
* include/hberrors.h
    added define WARN_AMBIGUOUS_VAR 1
    added declaration for new function GenWarning()
  * source/compiler/harbour.y
    added _szWarnings[] to include parse warning messages
    added function GenWarning()
    added /w compiler switch to enable warnings
    added warning message for ambiguous vars
1999-06-07 00:54:05 +00:00
Eddie Runia
034408e794 see changelog 1999-06-06 14:27:33 +00:00
Eddie Runia
00bff7c9b8 See changelog 1999-06-06 13:00:02 +00:00
Patrick Mast
9ba2e83606 19990604-14:14 CET Patrick Mast
* source/rtl/set.c
    Removed #include <sys\stat.h>
  * source/rtl/files.c
    Removed #include <sys\stat.h>
  * source/compiler/harbour.y
    Put in the build Nr.
1999-06-05 13:56:18 +00:00
Eddie Runia
db88bbf305 see changelog 1999-06-05 10:51:34 +00:00
Eddie Runia
ae751e58e9 see changelog 1999-06-04 16:28:05 +00:00
Ryszard Glab
baf69575ea See ChangeLog 19990604-02:22 rglab@imid.med.pl 1999-06-04 01:28:58 +00:00
Eddie Runia
33f62c99ae see changelog 1999-06-03 14:34:16 +00:00
Eddie Runia
0e7f54fac9 see changelog 1999-06-03 10:44:41 +00:00
David G. Holm
8cf924a706 See ChangeLog entry 19990601-12:00 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-01 17:07:15 +00:00
Ron Pinkas
ca31045bcf June 1st. 1999 00:30 Ron Pinkas
Harbour.y -> modified pcode generation to move the push of the counter variable to         the NEXT rather than the FOR
        so loop code may manipulate the counter vaiable.

        TEST/WORKING/TestFor.prg -> added this file
1999-06-01 08:40:05 +00:00
Eddie Runia
9e8e6d82d5 see changelog 1999-05-31 22:12:30 +00:00
Eddie Runia
d972547fbe See changelog 1999-05-22 13:19:37 +00:00
David G. Holm
f34cf412e7 See ChangeLog entry 19990520-19:35 EST David G. Holm <dholm@jsd-llc.com> 1999-05-21 00:41:27 +00:00
Gonzalo A. Diethelm
935a8d3b4b ChangeLogTag:Thu May 20 16:03:24 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> 1999-05-20 21:14:39 +00:00
Ryszard Glab
d3d9e6062a see ChangeLog 19990520-01:40 1999-05-20 00:47:57 +00:00
Eddie Runia
d484e5e22e See change log 1999-05-19 11:55:04 +00:00
Ryszard Glab
4807d53a0e See ChangeLog 19990519-02:45 1999-05-19 01:45:52 +00:00
Eddie Runia
c221fbb9f7 HRB production added + runner.
Removed old file in tests/broken.
1999-05-18 22:50:12 +00:00
Ryszard Glab
1c40a309b6 See ChangeLog: 19990518-01:45 <rglab@imid.med.pl> 1999-05-18 00:55:30 +00:00
Ryszard Glab
f31866fc90 See ChangeLog: 19990516-07:04 1999-05-16 06:31:14 +00:00
Eddie Runia
adf88adf4b Return error removed 1999-05-15 15:22:28 +00:00
Eddie Runia
89ccd59b97 Let this work 1999-05-15 00:14:45 +00:00
David G. Holm
3a1254b10f See ChangeLog entry 19990513-22:20 EDT David G. Holm <dholm@jsd-llc.com> 1999-05-14 23:40:34 +00:00
Eddie Runia
aa57230df6 see changelog (again) 1999-05-14 16:28:12 +00:00
Antonio Linares
0eaac65ea4 Proper error generation for missing include files 1999-05-14 11:08:20 +00:00
David G. Holm
3586265340 See ChangeLog entry 19990513-22:20 EDT David G. Holm <dholm@jsd-llc.com> 1999-05-14 03:38:37 +00:00
Antonio Linares
c86f92fd79 Improved errorapi 1999-05-13 11:46:54 +00:00