caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* how can I break up a long ocamlbuild _tags line?
@ 2008-02-13  3:40 Eric Cooper
  2008-02-13  8:25 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Cooper @ 2008-02-13  3:40 UTC (permalink / raw)
  To: caml-list

I currently have this line in my _tags file:

    <approx.{byte,native}>: use_unix, use_pcre, use_sha, use_syslog, use_netsys, use_netstring, use_netcgi, use_nethttpd-for-netcgi2

and it will probably get longer.  If this were a Makefile, I'd use \
to break it across lines.  Is there any equivalent trick?

-- 
Eric Cooper             e c c @ c m u . e d u


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] how can I break up a long ocamlbuild _tags line?
  2008-02-13  3:40 how can I break up a long ocamlbuild _tags line? Eric Cooper
@ 2008-02-13  8:25 ` Nicolas Pouillard
  2008-02-28 21:45   ` Bünzli Daniel
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Pouillard @ 2008-02-13  8:25 UTC (permalink / raw)
  To: Eric Cooper; +Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

Excerpts from Eric Cooper's message of Wed Feb 13 04:40:12 +0100 2008:
> I currently have this line in my _tags file:
> 
>     <approx.{byte,native}>: use_unix, use_pcre, use_sha, use_syslog, use_netsys, use_netstring, use_netcgi, use_nethttpd-for-netcgi2
> 
> and it will probably get longer.  If this were a Makefile, I'd use \
> to break it across lines.  Is there any equivalent trick?

Not yet. However you can still split it that way:

<approx.{byte,native}>: use_unix, use_pcre, use_sha, use_syslog, use_netsys
<approx.{byte,native}>: use_netstring, use_netcgi, use_nethttpd-for-netcgi2

However, I add the '\' support to ocamlbuild right now.

-- 
Nicolas Pouillard aka Ertai

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] how can I break up a long ocamlbuild _tags line?
  2008-02-13  8:25 ` [Caml-list] " Nicolas Pouillard
@ 2008-02-28 21:45   ` Bünzli Daniel
  0 siblings, 0 replies; 3+ messages in thread
From: Bünzli Daniel @ 2008-02-28 21:45 UTC (permalink / raw)
  To: caml-list List


Le 13 févr. 08 à 09:25, Nicolas Pouillard a écrit :

> However, I add the '\' support to ocamlbuild right now.

Can't we once have a configuration file syntax with good white space  
handling ? I.e. with a lexical syntax, the way we are used to in  
programming languages.

Best,

Daniel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-28 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13  3:40 how can I break up a long ocamlbuild _tags line? Eric Cooper
2008-02-13  8:25 ` [Caml-list] " Nicolas Pouillard
2008-02-28 21:45   ` Bünzli Daniel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).