aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code
diff options
context:
space:
mode:
authorRichard Brooksby2013-05-09 11:40:22 +0100
committerRichard Brooksby2013-05-09 11:40:22 +0100
commit3815e622a8c13730e9a67e2d4ede962a65806bd2 (patch)
tree824142d1b971d18f3904db38f49e13964cbc8171 /mps/code
parenteea2d7aec420ff835fa896d739e174d617e61ab5 (diff)
downloademacs-3815e622a8c13730e9a67e2d4ede962a65806bd2.tar.gz
emacs-3815e622a8c13730e9a67e2d4ede962a65806bd2.zip
Draft design document for keyword arguments.
Correcting hex "spelling" of KeySig. Copied from Perforce Change: 181661 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
-rw-r--r--mps/code/arg.c4
-rw-r--r--mps/code/arg.h2
-rw-r--r--mps/code/mpmst.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/mps/code/arg.c b/mps/code/arg.c
index 0338e22405d..edb25ebd8c0 100644
--- a/mps/code/arg.c
+++ b/mps/code/arg.c
@@ -1,7 +1,9 @@
1/* arg.c: ARGUMENT LISTS 1/* arg.c: ARGUMENT LISTS
2 * 2 *
3 * $Id: //info.ravenbrook.com/project/mps/custom/cet/main/code/bt.c#1 $ 3 * $Id$
4 * Copyright (c) 2013 Ravenbrook Limited. See end of file for license. 4 * Copyright (c) 2013 Ravenbrook Limited. See end of file for license.
5 *
6 * .source: See <design/keyword-arguments.rst>.
5 */ 7 */
6 8
7#include "config.h" 9#include "config.h"
diff --git a/mps/code/arg.h b/mps/code/arg.h
index 8dc36e7824c..58bbf98c85e 100644
--- a/mps/code/arg.h
+++ b/mps/code/arg.h
@@ -3,7 +3,7 @@
3 * $Id$ 3 * $Id$
4 * Copyright (c) 2013 Ravenbrook Limited. See end of file for license. 4 * Copyright (c) 2013 Ravenbrook Limited. See end of file for license.
5 * 5 *
6 * .source: FIXME: Write up design from email discussion. 6 * .source: See <design/keyword-arguments.rst>.
7 */ 7 */
8 8
9#ifndef arg_h 9#ifndef arg_h
diff --git a/mps/code/mpmst.h b/mps/code/mpmst.h
index 1b66ddd3194..410f50f963b 100644
--- a/mps/code/mpmst.h
+++ b/mps/code/mpmst.h
@@ -702,7 +702,7 @@ typedef struct AllocPatternStruct {
702 702
703/* KeyStruct -- keyword argument structure */ 703/* KeyStruct -- keyword argument structure */
704 704
705#define KeySig ((Sig)0x519CE333) /* SIGnature KEYyy */ 705#define KeySig ((Sig)0x519CE111) /* SIGnature KEYyy */
706typedef struct mps_key_s { 706typedef struct mps_key_s {
707 Sig sig; 707 Sig sig;
708 const char *name; 708 const char *name;