[Bug 320932] [NEW] jskeyword.tbl not included in libmozjs-dev

mankyd mankyd at gmail.com
Sat Jan 24 19:45:45 UTC 2009


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 Mozilla
Bugs, which is subscribed to xulrunner in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list