did you know the module definition must be the first non-whitespace, non-comment line in a module? i did not

This commit is contained in:
alisdair sullivan 2010-05-25 22:23:06 -07:00
parent c16351ad12
commit 86333b8e7f
6 changed files with 12 additions and 14 deletions

View file

@ -20,10 +20,9 @@
%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
%% THE SOFTWARE.
-author("alisdairsullivan@yahoo.ca").
-module(jsx_stream_parser).
-author("alisdairsullivan@yahoo.ca").
-export([decoder/1, event/2]).
@ -35,6 +34,7 @@ decoder(Opts) ->
catch
throw:{ok, Result} -> Result
; throw:not_found -> not_found
; _:_ -> throw(badarg)
end
end.