From 724e68bab0d480fd9379afcbbb56ccc098770706 Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Sun, 3 Jun 2007 12:25:37 +0000 Subject: The parser no longer signals "incomplete input"... The parser no longer signals "incomplete input" in cases where the input already has an outright syntax error. --- test/files/run/interpreter.scala | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/files/run/interpreter.scala') diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 22dbf4754d..c59ce9f758 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -75,6 +75,13 @@ val x20 = 1 val two = one + x5 + +// interior syntax errors should *not* go into multi-line input mode. +// both of the following should abort immediately: +def x => y => z +[1,2,3] + + .text -- cgit v1.2.3