Allow define as identifier
commitb585ca878aa2e390c1fb8f831dd6e78c2aab8a3c
authorEric Lippert <ericlippert@fb.com>
Tue, 31 Jan 2017 06:56:17 +0000 (30 22:56 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 31 Jan 2017 07:21:30 +0000 (30 23:21 -0800)
treefb99fbbf9362df033d24e26aadd85abf0a9659a7
parent54ddecade79a5bcc322793c4d53933879cd1d892
Allow define as identifier

Summary: The FF parser required "define" to be followed by a parenthesized list, but the original Hack and HHVM parsers allow it to be an identifier.

Differential Revision: D4479828

fbshipit-source-id: ea1b85606b8fa7086ca44956cdfb7a35966c0e1a
hphp/hack/src/full_fidelity/full_fidelity_expression_parser.ml