fix typo and text duplication

This commit is contained in:
Matthew Flatt 2011-11-27 13:27:04 -07:00
parent cba6323e8c
commit a04272d245
2 changed files with 4 additions and 6 deletions

View File

@ -883,7 +883,7 @@ is equivalent to
where @racket[_name-id] is derived from the source input port's name:
if the port name is a filename path, the filename without its
directory path and extension is used for @racket[_name-in], otherwise
directory path and extension is used for @racket[_name-id], otherwise
@racket[_name-id] is @racket[anonymous-module].
@subsection{Chaining Reader Language}

View File

@ -78,10 +78,8 @@ is read as
(#%module-begin ....))
]
where @racket[_name-id] is derived from the source input port's name:
if the port name is a filename path, the filename without its
directory path and extension is used for @racket[_name-in], otherwise
@racket[_name-id] is @racket[anonymous-module].
where @racket[_name-id] is derived from the source input port's name
in the same way as for @racket[@#,hash-lang[] @#,racketmodname[s-exp]].
Keyword-based @racket[reader-option]s allow further customization, as
listed below. Additional @racket[form]s are as in the body of
@ -407,7 +405,7 @@ various keywords to arbitrary readers; please use it instead.}
Repeatedly calls @racket[read] on @racket[in] until an end of file,
collecting the results in order into @racket[_lst], and derives a
@racket[_name-id] from @racket[(object-name in)] in the same way as
@racketmodname[syntax/module-reader]. The last five arguments are
@racket[@#,hash-lang[] @#,racketmodname[s-exp]]. The last five arguments are
used to construct the syntax object for the language position of the
module. The result is roughly