Fix lexing of double-quoted heredoc identifier
commitf1c4db82e1356827053ad6b7f97d895863630e03
authorVassil Mladenov <vmladenov@fb.com>
Thu, 15 Mar 2018 23:56:01 +0000 (15 16:56 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 16 Mar 2018 00:02:48 +0000 (15 17:02 -0700)
tree81b562b41373a3e38f73371733878e8ef9ac78e0
parent589a11903ff11b0138960d34aeb5f0aca4ef37e3
Fix lexing of double-quoted heredoc identifier

Summary: Lexer was not reporting when a closing double quote was missing if a heredoc identifier starts with a double quote

Reviewed By: andrewjkennedy

Differential Revision: D7282653

fbshipit-source-id: bf92a21d910d2bd3b5cea30617ab5d0225d8788b
hphp/hack/src/parser/full_fidelity_lexer.ml
hphp/hack/src/parser/full_fidelity_syntax_error.ml
hphp/hack/src/parser/full_fidelity_syntax_error.mli
hphp/test/hhcodegen_failing_tests_zend