tuned whitespace;
authorwenzelm
Sat, 28 Sep 2024 23:23:30 +0200
changeset 80993 addebc07f06e
parent 80992 fc0f2053c4d2
child 80994 720bc2172020
tuned whitespace;
src/Pure/Syntax/parser.ML
--- a/src/Pure/Syntax/parser.ML	Sat Sep 28 21:16:01 2024 +0200
+++ b/src/Pure/Syntax/parser.ML	Sat Sep 28 23:23:30 2024 +0200
@@ -523,23 +523,19 @@
   Tip of Lexicon.token;
 
 local
-
-fun cons_nr (Node _) = 0
-  | cons_nr (Tip _) = 1;
-
+  fun cons_nr (Node _) = 0
+    | cons_nr (Tip _) = 1;
 in
-
-fun tree_ord trees =
-  if pointer_eq trees then EQUAL
-  else
-    (case trees of
-      (Node (s, ts), Node (s', ts')) =>
-        (case fast_string_ord (s, s') of
-          EQUAL => list_ord tree_ord (ts, ts')
-        | ord => ord)
-    | (Tip t, Tip t') => Lexicon.token_ord (t, t')
-    | _ => int_ord (apply2 cons_nr trees));
-
+  fun tree_ord trees =
+    if pointer_eq trees then EQUAL
+    else
+      (case trees of
+        (Node (s, ts), Node (s', ts')) =>
+          (case fast_string_ord (s, s') of
+            EQUAL => list_ord tree_ord (ts, ts')
+          | ord => ord)
+      | (Tip t, Tip t') => Lexicon.token_ord (t, t')
+      | _ => int_ord (apply2 cons_nr trees));
 end;
 
 fun pretty_tree (Node (c, ts)) =