Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • cshapiro's avatar
    d2dcf0fa
    When attempting to macro expand a symbol that denotes a local · d2dcf0fa
    cshapiro authored
    definition, if the symbol is symbol macro, return the expansion.
    Otherwise, if the symbol is a local definition but not a symbol macro,
    return the symbol and report no expansion.  Previously, the otherwise
    case was not handled and macroexpand-1 fell through in error to test
    forms for global cases.  Among other things, this caused the expansion
    of global symbol macros shadowed by lexical variable bindings.
    d2dcf0fa
    History
    When attempting to macro expand a symbol that denotes a local
    cshapiro authored
    definition, if the symbol is symbol macro, return the expansion.
    Otherwise, if the symbol is a local definition but not a symbol macro,
    return the symbol and report no expansion.  Previously, the otherwise
    case was not handled and macroexpand-1 fell through in error to test
    forms for global cases.  Among other things, this caused the expansion
    of global symbol macros shadowed by lexical variable bindings.