pointer.sh: headers, inclusief symbols

This commit is contained in:
Jan Nieuwenhuizen 2019-10-23 17:01:09 +02:00
parent ea67ec49af
commit afeadbb4d7
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 43 additions and 37 deletions

View File

@ -10,6 +10,7 @@ cstring='s,C(STRING) \(([^()]*)\),cell_bytes (STRING (\2)),'
struct='s,SCM,struct scm*,g'
sed -ri \
-e 's,#define POINTER_CELLS 0,#define POINTER_CELLS 1', \
-e "$ncbytes" \
-e "$cbytes" \
-e "$cstring" \
@ -32,6 +33,11 @@ sed -ri \
-e 's,CDDDR \(([^()]*)\),\1->cdr->cdr->cdr,' \
-e 's,CDADAR \(([^()]*)\),\1->cdr->car->cdr->car,' \
\
include/mes/builtins.h \
include/mes/cc.h \
include/mes/mes.h \
include/mes/symbols.h \
include/mes/builtins.h \
src/builtins.c \
src/display.c \
src/eval-apply.c \