equal
deleted
inserted
replaced
269 end; |
269 end; |
270 |
270 |
271 |
271 |
272 |
272 |
273 fun syntax_error toks = |
273 fun syntax_error toks = |
274 error ("Syntax error at: " ^ space_implode " " (map str_of_token toks)); |
274 error ("Syntax error at: " ^ quote (space_implode " " (map str_of_token toks))); |
275 |
275 |
276 fun produce grammar stateset i indata = |
276 fun produce grammar stateset i indata = |
277 (case Array.sub (stateset, i) of |
277 (case Array.sub (stateset, i) of |
278 [] => syntax_error indata (* MMW *)(* FIXME *) |
278 [] => syntax_error indata (* MMW *)(* FIXME *) |
279 | s => |
279 | s => |