All pragmas are leading
commit80e8751007814222149d58de1f4496cf7604d819
authorPhilip Hölzenspies <drphil@fb.com>
Tue, 3 Oct 2017 13:10:49 +0000 (3 06:10 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 3 Oct 2017 13:26:25 +0000 (3 06:26 -0700)
treeed2c21926fe47227c8e1e40f69f2bb8b1aa17764
parent335bdb0312cea441e7c9f6b3d86fae1075c01fc0
All pragmas are leading

Summary:
Like D5855548, but extend it to other pragmas, because
```
$x = /* HH_IGNORE_ERROR[2050]: using $GLOBALS */
  idx($GLOBALS, 'FOO', '');
```
happens.

Differential Revision: D5910968

fbshipit-source-id: 9579291c69ce3b38368ee170d5c4ed0bc30bc75a
hphp/hack/src/hackfmt/hack_format.ml
hphp/hack/src/parser/full_fidelity_lexer.ml