JS2C tweaks:
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 5 Jul 2010 14:28:37 +0000 (14:28 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 5 Jul 2010 14:28:37 +0000 (14:28 +0000)
commita50e72575e3e3a98bfbf2ed19441a66824104258
tree63b803fd062375178be860f19fdfef2ee1d8b1ed
parent90e9e99b3c3f5a886072dbf958998619f7899d54
JS2C tweaks:

 o Only substitute constant values for full-words and not for
   accidental partial matches.

 o Keep the order of macros as in macros.py and allow depending on the
   previous macros.  We used to allow depending on macros that
   happened to sort after the current one in the dictionary.

Review URL: http://codereview.chromium.org/2800042

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5022 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
tools/js2c.py