author | wenzelm |
Wed, 14 Oct 2015 17:24:03 +0200 | |
changeset 61440 | 8626c2fed037 |
parent 61439 | 2bf52eec4e8a |
child 61441 | 20ff1d5c74e1 |
--- a/src/Pure/General/antiquote.ML Wed Oct 14 15:10:32 2015 +0200 +++ b/src/Pure/General/antiquote.ML Wed Oct 14 17:24:03 2015 +0200 @@ -42,7 +42,7 @@ | ([], _ :: rest) => flush #> split (Text rest) | (prefix, _ :: rest) => add (Text prefix) #> flush #> split (Text rest)) | split a = add a; - in rev (#2 (flush (fold split input ([], [])))) end; + in if null input then [] else rev (#2 (flush (fold split input ([], [])))) end; (* reports *)