blob: 3d56e8c841f72f6a7420ba2d084ae1c7dcacc4ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
theory "Names In Strings" = Main: (* NB: must also check case without quotes! *)
lemma foo: "B --> B" by auto
lemma "foo bar": "B --> B" by auto
lemma "foo-wiggle-bar": "B --> B" by auto
theorem "x b": "B --> B" by auto
(* NB: various other regexps and settings based on them are sensitive
to grouping in isar-name-regexp: should check function menu, imenu,
as well as undo behaviour. *)
end
(*
I noticed the following minor problem with Isabelle and
ProofGeneral:
>> theory "a" = Main:
>> Proof General -> Use -> Retract:
>> *** Outer syntax error: end of input expected,
>> *** but identifier "a" was found
Regards,
Tjark
*)
|