Public bug reported:

Binary package hint: libmozjs-dev

The header files included with libmozjs-dev (i.e. jsapi.h) do not
include jskeyword.tbl. It is included from jsparse.h:

http://hg.mozilla.org/mozilla-
central/file/e919f0c1dfa9/js/src/jskeyword.tbl

This file isn't needed specifically for the distribution of spidermonkey
that comes with Ubuntu (at least I don't think it is,) but is be needed
by some developers when they write their own applications.

For instance, I am working on building SpiderMonkey's File object into
my own project - an object that can optionally come with spidermonkey
but is generally not included. To do this, I had to define compile time
flags with cause jskeyword.tbl to be included from from inside of
jsparse.h:

  #define JS_KEYWORD(keyword, type, op, version) \
      extern const char js_##keyword##_str[];
  #include "jskeyword.tbl"
  #undef JS_KEYWORD

This fails since jskeyword.tbl is not included in the package as it
should be.

** Affects: xulrunner (Ubuntu)
     Importance: Undecided
         Status: New

-- 
jskeyword.tbl not included in libmozjs-dev
https://bugs.launchpad.net/bugs/320932
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to