repo.or.cz
/
ocaml.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Module of module types for OrderedType,ComparableType,Printable,Serializable,Discrete...
[ocaml.git]
/
build
/
mkruntimedef.sh
blob
54f7cc5c72de57a4a90d15a3d95e0295c16a3914
1
#!/bin/sh
2
# $Id$
3
echo
'let builtin_exceptions = [|'
;
\
4
sed
-n -e
's|.*/\* \("[A-Za-z_]*"\) \*/$| \1;|p'
byterun
/
fail.h | \
5
sed
-e
'
$s
/;$//'
;
\
6
echo
'|]'
;
\
7
echo
'let builtin_primitives = [|'
;
\
8
sed
-e
's/.*/ "&";/'
-e
'
$s
/;$//'
byterun
/
primitives
;
\
9
echo
'|]'