[erlang-patches] erlang-mode patch
Francois-Denis Gonthier
neumann@REDACTED
Tue Jun 12 01:55:44 CEST 2007
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20070611/2c024692/attachment.bin>
More information about the erlang-patches
mailing list