erlang-mode patch

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

erlang-mode patch

François-Denis Gonthier-2
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'"))
-             (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: <>