unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #31318] Can't call functions in ecmascript
@ 2010-10-12 20:32 Jonathan Schmidt-Dominé
  2010-11-18 12:05 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Schmidt-Dominé @ 2010-10-12 20:32 UTC (permalink / raw)
  To: Jonathan Schmidt-Dominé, bug-guile


URL:
  <http://savannah.gnu.org/bugs/?31318>

                 Summary: Can't call functions in ecmascript
                 Project: Guile
            Submitted by: theuser
            Submitted on: Tue 12 Oct 2010 10:32:33 PM CEST
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi!

I get syntax-errors when trying to invoke or define functions in the
ecmascript-mode:
cmascript@(guile-user)> alert("Bla");
Throw to key `SyntaxError' with args `("unexpected right parenthesis")' while
reading expression.
ecmascript@(guile-user)> function x(y) { return y; }
Throw to key `SyntaxError' with args `("unexpected right parenthesis")' while
reading expression.
Throw to key `SyntaxError' with args `("unexpected right brace"
#<lexical-token category: lbrace source: #f value: ()>)' while reading
expression.

Jonathan




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31318>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [bug #31318] Can't call functions in ecmascript
  2010-10-12 20:32 [bug #31318] Can't call functions in ecmascript Jonathan Schmidt-Dominé
@ 2010-11-18 12:05 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2010-11-18 12:05 UTC (permalink / raw)
  To: Jonathan Schmidt-Dominé, bug-guile

Hi Jonathan,

On Tue 12 Oct 2010 22:32, Jonathan Schmidt-Dominé <INVALID.NOREPLY@gnu.org> writes:

> I get syntax-errors when trying to invoke or define functions in the
> ecmascript-mode:

I think I've fixed this longstanding bug. It was the result of some
refactorizations, because there were too few tests. I've fixed that too,
and some other things.

Thanks for the report,

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-18 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 20:32 [bug #31318] Can't call functions in ecmascript Jonathan Schmidt-Dominé
2010-11-18 12:05 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).