equal
deleted
inserted
replaced
42 |
42 |
43 |
43 |
44 /* read */ |
44 /* read */ |
45 |
45 |
46 def read(input: CharSequence): List[Antiquote] = { |
46 def read(input: CharSequence): List[Antiquote] = { |
47 Parsers.parseAll(Parsers.rep(Parsers.antiquote), Scan.char_reader(input)) match { |
47 val result = Parsers.parseAll(Parsers.rep(Parsers.antiquote), Scan.char_reader(input)) |
|
48 (result : @unchecked) match { |
48 case Parsers.Success(xs, _) => xs |
49 case Parsers.Success(xs, _) => xs |
49 case Parsers.NoSuccess(_, next) => |
50 case Parsers.NoSuccess(_, next) => |
50 error("Malformed quotation/antiquotation source" + |
51 error("Malformed quotation/antiquotation source" + |
51 Position.here(Position.Line(next.pos.line))) |
52 Position.here(Position.Line(next.pos.line))) |
52 } |
53 } |