# HG changeset patch # User wenzelm # Date 1729865038 -7200 # Node ID 0c9075bdff38bd79f85d61da2b60c4fe104117b8 # Parent ff60c3b565da27de06b0a56e14867e28bbb0a4fd more inner-syntax markup; diff -r ff60c3b565da -r 0c9075bdff38 src/Benchmarks/Quickcheck_Benchmark/Needham_Schroeder_Base.thy --- a/src/Benchmarks/Quickcheck_Benchmark/Needham_Schroeder_Base.thy Fri Oct 25 15:48:40 2024 +0200 +++ b/src/Benchmarks/Quickcheck_Benchmark/Needham_Schroeder_Base.thy Fri Oct 25 16:03:58 2024 +0200 @@ -28,6 +28,8 @@ syntax "_MTuple" :: "['a, args] \ 'a * 'b" (\(\indent=2 notation=\mixfix message tuple\\\_,/ _\)\) +syntax_consts + "_MTuple" \ MPair translations "\x, y, z\" \ "\x, \y, z\\" "\x, y\" \ "CONST MPair x y" diff -r ff60c3b565da -r 0c9075bdff38 src/Doc/Tutorial/Protocol/Message.thy --- a/src/Doc/Tutorial/Protocol/Message.thy Fri Oct 25 15:48:40 2024 +0200 +++ b/src/Doc/Tutorial/Protocol/Message.thy Fri Oct 25 16:03:58 2024 +0200 @@ -81,6 +81,8 @@ text\Concrete syntax: messages appear as \\A,B,NA\\, etc...\ syntax "_MTuple" :: "['a, args] \ 'a * 'b" ("(\indent=2 notation=\mixfix message tuple\\\_,/ _\)") +syntax_consts + "_MTuple" \ MPair translations "\x, y, z\" \ "\x, \y, z\\" "\x, y\" \ "CONST MPair x y"