syntax error before [

by by@REDACTED
Sun Mar 8 05:58:35 CET 2020


Properly format the code at first, then things seems clear.

[
 {inets,
  [
   {services,
    [
     {httpd, [{proplist_file, "/var/tmp/server_root/conf/8888_props.conf"}]},
     {httpd, [{proplist_file, "/var/tmp/server_root/conf/8080_props.conf"}]}
    ]}
  ]}
].

Cheers,
Yao

> 在 2020年3月8日,12:21,Peter J Etheridge <petergi@REDACTED> 写道:
> 
> dear erlangers,
> 
> i have pasted and copied this;
> 
> [{inets, [{services, [{httpd, [{proplist_file,
>                  "/var/tmp/server_root/conf/8888_props.conf"}]},
>                 {httpd, [{proplist_file,
>                  "/var/tmp/server_root/conf/8080_props.conf"}]}]}]}].
> 
> into an application configuration file
> 
> and receive;
> 
> '...syntax error before '[' .'
> 
> where should i look ?
> 
> thank you in advance,
> peter
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200308/d8edfa01/attachment.htm>


More information about the erlang-questions mailing list