Skip to content
  • Raymond Toy's avatar
    Do a better job of handling symbols that have the same name as · 34a34954
    Raymond Toy authored
    intrinsics but are not intrinsic functions.
    
    src/f2cl1.l:
    o Get rid of *default-intrinsic-function-names*, and revert
      *intrinsic-function-names* to its original definition.
    o Add *non-intrinsic-function-names* to hold symbols that can't be
      intrinsics because they are in the formal argument list of a
      subprogram.
    o Remove *declared-intrinsic-names*
    o When fixing up symbols that should be from f2cl-lib package because
      they're intrinsic functions, skip over symbols in
      *non-intrinsic-function-names*.
    o Check the subprogram arg list for symbols have the same name as
      intrinsics and save them on *non-intrinsic-function-names* because we
      know they can't be intrinsics.
    
    src/f2cl2.l:
    o When trying to ID an intrinsic function call, we have to skip over
      anything in *non-intrinsic-function-names* because we know they're not
      intrinsics.
    
    src/f2cl5.l:
    o Update check-reserved-lisp-names because we don't need to handle
      intrinsic function specially.  Any symbol that looks like an instrinsic
      is one, unless it also shows up in *non-intrinsic-function-names*.
      This means we don't append "$" to these symbols, and that we also don't
      spuriously create symbols that aren't used.
    34a34954