Make "const" case insensitive in FF parser
commit33ce224c7b2299f0862078a2b9b0f2f10d69b1c1
authorEric Lippert <ericlippert@fb.com>
Wed, 8 Feb 2017 22:15:48 +0000 (8 14:15 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 8 Feb 2017 22:31:41 +0000 (8 14:31 -0800)
tree64ec99a465e3e7767c77d8300a0a76dd828c20fd
parent430bfd9ef0c3fd1b3a2b8fe3e66f3cba8fa4cec4
Make "const" case insensitive in FF parser

Summary: PHP accepts "CONST" for constant declarations; to be more PHP compatible, now the FF parser does too.

Reviewed By: eshrews

Differential Revision: D4492275

fbshipit-source-id: 19b460c02dc5c0cf694b83c4d362cfdab71a8d03
hphp/hack/src/full_fidelity/full_fidelity_lexer.ml