[erlang-questions] Problem parsing Erlang code

Joel Reymont joelr1@REDACTED
Tue Nov 20 18:48:40 CET 2007


On Nov 20, 2007, at 5:46 PM, Sean Hinde wrote:

> Works for me:
>
> 12> S = "show({'bicycling' = A, 1010 = B}) -> show_activity(A, B,  
> 4,\"bicycling, <10\").".
> "show({'bicycling' = A, 1010 = B}) -> show_activity(A, B,  
> 4,\"bicycling, <10\")."
> 13> {ok, Toks, _} = erl_scan:string(S).

I had a typo where I was still parsing S after tokenizing S1. My  
apologies!

--
http://wagerlabs.com








More information about the erlang-questions mailing list