mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Unexpected restart" error


From: Chris Hanson
Subject: Re: "Unexpected restart" error
Date: Sat, 06 Aug 2022 11:28:52 -0700

On Monday, July 18, 2022 2:27:01 PM PDT Chinmaya Nagpal wrote:
> (begin ;; -*- something: something -*-
>     (+ 2 2))

This is normal and expected behavior.

When there is a comment in the first line of a “file”, in that format, it 
specifies some attributes that potentially change how reading is to be done. 
Consequently the reader must restart with the new attributes.

I suppose it would be possible to determine that the specified attributes were 
NOT ones that affect the reader, at which point there would not be need for a 
restart. If that’s something you care about, please file a bug and we’ll get 
around to fixing it.

Chris






reply via email to

[Prev in Thread] Current Thread [Next in Thread]