CRONOS-19 / lalr-scm

Automatically exported from code.google.com/p/lalr-scm
0 stars 0 forks source link

Error procedure may receive only one argument #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The documentation for the error procedure says that it must accept "at
least two parameters," but under certain circumstances, it will only be
called with a single argument -- e.g., when there is an unexpected end of
input.  So the error procedure only needs to accept at least one argument,
but it might be more straightforward to describe it in the documentation
using "rest" argument notation:

(define (error-procedure error-str . error-args))

Original issue reported on code.google.com by jool...@gmail.com on 29 Nov 2008 at 6:54

GoogleCodeExporter commented 8 years ago
I just fixed the documentation to say "at least one argument". I think it's 
clear
from the rest of the paragraph what the parameters can be.

Original comment by schemeway on 30 Nov 2008 at 12:43