search for: ba5e045

Displaying 2 results from an estimated 2 matches for "ba5e045".

2016 Dec 09
0
Re: [PATCH] generator: Share Common_utils code.
...m <stdlib> markup and sed code for it, what about using the standard C preprocessor for this? I.e. have comments like: (* #ifdef STDLIB *) ... (* #endif *) and using cpp -DSTDLIB ... to output that. > diff --git a/generator/utils.ml b/generator/utils.ml > index 3e81433..ba5e045 100644 > --- a/generator/utils.ml > +++ b/generator/utils.ml > @@ -23,6 +23,8 @@ > * makes this a bit harder than it should be. > *) > > +open Common_utils > + > open Unix > open Printf > > @@ -119,85 +121,6 @@ let rstructs_used_by functions = > &g...
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
...tor/uefi.ml b/generator/uefi.ml index 88e54b8..80b8739 100644 --- a/generator/uefi.ml +++ b/generator/uefi.ml @@ -18,6 +18,7 @@ (* Please read generator/README first. *) +open Common_utils open Utils open Pr open Docstrings diff --git a/generator/utils.ml b/generator/utils.ml index 3e81433..ba5e045 100644 --- a/generator/utils.ml +++ b/generator/utils.ml @@ -23,6 +23,8 @@ * makes this a bit harder than it should be. *) +open Common_utils + open Unix open Printf @@ -119,85 +121,6 @@ let rstructs_used_by functions = let failwithf fs = ksprintf failwith fs -let unique = let i = re...