Make HHVM grammar reusable
commit2b940b7ef772640b5980b78c645f89cbd216d81f
authorJacob Bower <jbower@fb.com>
Mon, 15 Aug 2016 09:25:50 +0000 (15 02:25 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Mon, 15 Aug 2016 09:46:06 +0000 (15 02:46 -0700)
tree9b43198606f7ac52264644e0501e37e83e281b40
parent88509549d0fccf09830f13bfd649d06400378704
Make HHVM grammar reusable

Summary:
A few small tweaks to make it possible to build a different parser on top of the existing HHVM grammar.

It looks this might have been standard/tried before judging from the existing `HPHP_PARSER_NS` macro?

Reviewed By: markw65

Differential Revision: D3668271

fbshipit-source-id: 2ccf617022e6462a4afb085dbd3c237df9b03988
hphp/parser/hphp.5.tab.cpp
hphp/parser/hphp.7.tab.cpp
hphp/parser/hphp.y