[erlang-questions] My favorite syntax error: semicolon before end

Bjorn Gustavsson <>
Wed Jun 25 16:13:19 CEST 2008


"Doug Edmunds" <> writes:

> In the docs:
> at <ROOT>/doc/design_principles/fsm.html
> AKA OTP Design Principles 3.2
> Version 5.6.3
> 
> Example: Section 3.2
> 
> 
> 1> c(code_lock).
> ./code_lock.erl:26: syntax error before: 'end'

Thanks!

Corrected (in the development branch for R12B-4).

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list