predefined locales "var" and "struct" (useful for sharing parameters);
authorwenzelm
Tue, 06 Aug 2002 11:19:52 +0200
changeset 13460 ced7a699282b
parent 13459 83f41b047a39
child 13461 f93f7d766895
predefined locales "var" and "struct" (useful for sharing parameters);
src/Pure/Isar/locale.ML
--- a/src/Pure/Isar/locale.ML	Tue Aug 06 11:19:00 2002 +0200
+++ b/src/Pure/Isar/locale.ML	Tue Aug 06 11:19:52 2002 +0200
@@ -990,6 +990,8 @@
 (** locale theory setup **)
 
 val setup =
- [LocalesData.init];
+ [LocalesData.init,
+  add_locale_i true "var" empty [Elem (Fixes [(Syntax.internal "x", None, Some Syntax.NoSyn)])],
+  add_locale_i true "struct" empty [Elem (Fixes [(Syntax.internal "S", None, None)])]];
 
 end;