Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
Ryszard Glab
6bef4798f3 See ChangeLog 1990615-07:00 1999-06-15 06:14: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
Ryszard Glab
baf69575ea See ChangeLog 19990604-02:22 rglab@imid.med.pl 1999-06-04 01:28:58 +00:00
Ryszard Glab
d3d9e6062a see ChangeLog 19990520-01:40 1999-05-20 00:47:57 +00:00
Ryszard Glab
d760c43c3a See ChangeLog 19990518-03:05 1999-05-18 02:08:10 +00:00
Ryszard Glab
f31866fc90 See ChangeLog: 19990516-07:04 1999-05-16 06:31:14 +00:00