syntax error before [

Fred Youhanaie fly@REDACTED
Sun Mar 8 08:35:04 CET 2020


Peter,

The piece you have pasted here is OK. I would next look within the configuration file and the area where it has been inserted.

Cheers,
Fred

On 08/03/2020 04:58, by wrote:
> 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 <mailto: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
>>
>>
> 


More information about the erlang-questions mailing list