Commit Graph

257 Commits

Author SHA1 Message Date
Ryszard Glab
86fb7771e2 ChangeLog: 19990704-16:20 1999-07-04 15:28:07 +00:00
David G. Holm
85abd33f76 See ChangeLog entry 19990630-02:10 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-30 07:24:09 +00:00
David G. Holm
1483876807 See ChangeLog entry 19990629-23:00 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-30 04:15:13 +00:00
Ryszard Glab
12293ebe48 ChangeLog:19990630-00:25 1999-06-29 23:38:58 +00:00
Ryszard Glab
cdfdaafdd5 ChangeLog: 19990629-05:55 1999-06-29 05:07:16 +00:00
David G. Holm
fff6633502 See ChangeLog entry 19990628-21:50 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-29 03:01:45 +00:00
Viktor Szakats
40660c95ae *** empty log message *** 1999-06-27 22:54:25 +00:00
Ryszard Glab
f6b92e2b1f ChangeLog: 19990626-06:20 1999-06-26 05:28:38 +00:00
David G. Holm
e1faf20593 Geez! I can't believe I forgot half the change! (It was partly because I
had started it before the huge types.h change was finished, so I removed
my copy of harbour.l and got a fresh copy to change.)
1999-06-25 02:29:59 +00:00
David G. Holm
7251c0af50 See ChangeLog entry 19990624-21:10 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-25 02:19:30 +00:00
Viktor Szakats
97ace9756d *** empty log message *** 1999-06-25 01:42:48 +00:00
David G. Holm
84d5ae7c57 See ChangeLog entry 19990623-21:30 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-24 02:33:05 +00:00
Ryszard Glab
4979496da5 ChangeLog:19990622-00:35 1999-06-22 23:45:57 +00:00
Gonzalo A. Diethelm
b38b346e6c ChangeLogTag:Mon Jun 21 12:14:15 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> 1999-06-21 17:13:03 +00:00
Viktor Szakats
ecd7000a0c *** empty log message *** 1999-06-21 12:29:54 +00:00
Alexander S.Kresin
cec13717cd Updating preprocessor files and harbour.l 1999-06-21 11:16:43 +00:00
Viktor Szakats
a52bd78dd9 *** empty log message *** 1999-06-21 10:53:01 +00:00
Ron Pinkas
23e4ddbd41 19990621 Ron Pinkas
Many more strong typing features
   resolved many warnings on harbour.y
1999-06-21 08:44:01 +00:00
Ryszard Glab
ab5039166c ChangeLog: 19990621-00:37 1999-06-20 23:45:58 +00:00
Viktor Szakats
c30ae2bd8e *** empty log message *** 1999-06-20 22:47:59 +00:00
Viktor Szakats
9a45eeac7b *** empty log message *** 1999-06-20 21:43:05 +00:00
Ryszard Glab
eee8faf179 See ChangeLog: 19990620-02:40 1999-06-20 01:43:59 +00:00
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
David G. Holm
660be190e7 See ChangeLog entry 19990615-12:30 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-15 17:36:20 +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
David G. Holm
4f310a1ac4 See ChangeLog entry 19990610-18:05 EDT David G. Holm <dholm@jsd-llc.com> 1999-06-10 23:11:45 +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