Changeset 27285 in project


Ignore:
Timestamp:
08/22/12 05:47:37 (9 years ago)
Author:
Ivan Raikov
Message:

nemo: more informative error message on missing symbol

Location:
release/4/nemo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/nemo/trunk/nemo-core.scm

    r27120 r27285  
    385385    (lambda (s loc . rest)
    386386      (let-optionals rest ((lbs '()))
     387
    387388        (if (and (not (hash-table-exists? nemo-env s))
    388389                 (not (member s lbs)))
     
    404405                                  " called with incorrect number of arguments: "
    405406                                  args)))))
    406           (nemo:error 'arity-check: "symbol " s " is not defined")
     407          (nemo:error 'arity-check: "symbol " s "(" loc ")" " is not defined")
    407408          )))
    408409
  • release/4/nemo/trunk/nemo.setup

    r27142 r27285  
    1313
    1414       ((dynld-name "nemo-core") ("nemo-core.scm" "expr.grm.scm")
    15         (compile -no-trace -O2 -d0 -s nemo-core.scm -j nemo-core))
     15        (compile -no-trace -O -d2 -s nemo-core.scm -j nemo-core))
    1616
    1717       ((dynld-name "nemo-core.import") ("nemo-core.import.scm")
Note: See TracChangeset for help on using the changeset viewer.