Fixed bug 172279: Incorrect syntax use causing an internal bug
This commit is contained in:
parent
5cf465f2c6
commit
6b74c8fb7d
Binary file not shown.
|
@ -1073,8 +1073,10 @@ its mode changes to \texttt{ikarus-mode}.
|
|||
ikarus-mode
|
||||
\end{verbatim}
|
||||
|
||||
\defun{set-port-mode!}{procedure}
|
||||
\texttt{(set-port-mode! ip mode)}
|
||||
\idxlabeldefun{set-port-mode"!}{set-port-mode"!}{set-port-mode-bang}{set-port-mode!}{procedure}
|
||||
%\defun{set-port-mode!}{procedure}
|
||||
%\index{set-port-mode@\texttt{set-port-mode"!}}
|
||||
\texttt{(set-port-mode!\ ip mode)}
|
||||
|
||||
The \texttt{set-port-mode!} procedure modifies the lexical syntax
|
||||
accepted by subsequent calls to \texttt{read} on the input port.
|
||||
|
|
|
@ -1 +1 @@
|
|||
1132
|
||||
1135
|
||||
|
|
|
@ -3386,12 +3386,14 @@
|
|||
(error 'syntax-error "invalid argument" args))
|
||||
(raise
|
||||
(condition
|
||||
(make-who-condition 'expander)
|
||||
;(make-who-condition 'expander)
|
||||
(make-message-condition
|
||||
(if (null? args)
|
||||
"invalid syntax"
|
||||
(apply string-append args)))
|
||||
(stx->datum x)))))
|
||||
(make-syntax-violation
|
||||
(stx->datum x)
|
||||
'none)))))
|
||||
|
||||
(define identifier? (lambda (x) (id? x)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue