Ignore:
Timestamp:
May 16, 2009, 11:13:38 AM (11 years ago)
Author:
gz
Message:

Add an unknown-type-in-declaration warning that doesn't care if the type is defined later, use it for type declarations. Other tweaks: make the generic bad declaration message even more vague. Try not to whine more than once for the same declaration. Remember whether the user said ignorable or ignore-if-unused, for error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/compiler/nx-basic.lisp

    r12045 r12071  
    581581    (:unused . "Unused lexical variable ~S")
    582582    (:ignore . "Variable ~S not ignored.")
    583     (:undefined-function . "Undefined function ~S")
    584     (:undefined-type . "Undefined type ~S")
    585     (:unknown-declaration . "Unknown declaration ~S")
     583    (:undefined-function . "Undefined function ~S") ;; (not reported if defined later)
     584    (:undefined-type . "Undefined type ~S")         ;; (not reported if defined later)
     585    (:unknown-type-in-declaration . "Unknown or invalid type ~S, declaration ignored")
     586    (:bad-declaration . "Unknown or invalid declaration ~S")
    586587    (:invalid-type . report-invalid-type-compiler-warning)
    587588    (:unknown-declaration-variable . "~s declaration for unknown variable ~s")
Note: See TracChangeset for help on using the changeset viewer.