Changeset 21693 in project


Ignore:
Timestamp:
11/27/10 17:33:41 (9 years ago)
Author:
Alan Post
Message:

genturfa'i: give inner-define different name than containing procedure.

As I've been playing around with optimization options, this issue
got flagged. I turned on an optimization claiming that I did not
redefine variables, but it turns out that I was!

That kind of code is poor practice, so fix the inner-define to have
a unique name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/genturfahi/trunk/nunjavni.scm

    r21691 r21693  
    348348              (apply namapti (cdr assv-valsi)))
    349349
    350             (define (javni-morji)
     350            (define (javni-nomorji)
    351351              (define (mapti-morji porsi nunvalsi)
    352352                (set-mapti-cache! cache-porsi
     
    372372                  ((assv cache-porsi recurse-cache) => recurse-morji)
    373373                   ; run the rule.
    374                   (else (javni-morji))))
     374                  (else (javni-nomorji))))
    375375
    376376          ; register this cache so we can clear if we want to use this
Note: See TracChangeset for help on using the changeset viewer.