[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] smalltalk-2.0.5: sticky syntax errors
From: |
Bruno Haible |
Subject: |
[Help-smalltalk] smalltalk-2.0.5: sticky syntax errors |
Date: |
Mon, 2 Sep 2002 13:50:35 +0200 (CEST) |
It is hard for a beginner to get rid of syntax errors.
st> 'Hello' 'Hello2' printNl !
stdin:1: parse error, expecting `'!''
st> 'Hello' printNl !
stdin:2: parse error, expecting `'!''
st> 'Hello' !
stdin:3: parse error, expecting `'!''
st> !
The last line finally unblocks the parser.
Couldn't the parser reset its state when a syntax error is encountered
and the input stream is interactive?
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] smalltalk-2.0.5: sticky syntax errors,
Bruno Haible <=