While investigating warnings shown by compiling erlang mode
to bytecode, I've
stumbled upon a likely syntax error. I've made at patch
potentially
correcting it.
The error message was "t called as a function" or
something like that.
<b.2/lib/tools/emacs/ > diff -u erlang.el.old
erlang.el
--- erlang.el.old 2007-06-08 19:34:54.000000000 -0400
+++ erlang.el 2007-06-08 19:35:28.000000000 -0400
 -3250,10
+3250,9 
(error "Missing `end'"))
))
((eq (car (car stack)) 'begin)
- (error "Missing `end'")
+ (error "Missing `end'"))
(t
- (error "Unbalanced parenthesis"))
- ))
+ (error "Unbalanced parenthesis")))
(forward-char 1))
;; Character quote: Skip it and the quoted char.
Could anyone confirm?
_______________________________________________
erlang-patches mailing list
erlang-patches erlang.org
http://www.erlang.org/mailman/listinfo/erlang-patches
|