author | paulson |
Mon, 28 Dec 1998 16:50:37 +0100 | |
changeset 6043 | 3eecc7fbfad8 |
parent 6042 | 0ccde2f25dd6 |
child 6044 | e0f9d930e956 |
--- a/src/Pure/Thy/thy_parse.ML Mon Dec 28 16:50:11 1998 +0100 +++ b/src/Pure/Thy/thy_parse.ML Mon Dec 28 16:50:37 1998 +0100 @@ -177,8 +177,9 @@ fun split_decls l = flat (map (fn (xs, y) => map (rpair y) xs) l); -fun strip_quotes str = - implode (tl (take (size str - 1, explode str))); +(*Remove the leading and trailing chararacters. Actually called to + remove quotation marks.*) +fun strip_quotes s = String.substring (s, 1, size s - 2); (* names *)