Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  erlang-mode patch

Guest
Posted: Tue Jun 12, 2007 2:24 am Reply with quote
Guest
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?


Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum