Added "endfor" keyword to full fidelity parser
commitfa5e2dca4937bbb6c2849971c6051632c02accd0
authorVassil Mladenov <vmladenov@fb.com>
Fri, 9 Feb 2018 22:31:00 +0000 (9 14:31 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 9 Feb 2018 22:49:36 +0000 (9 14:49 -0800)
treee77c9f9377e5e3822d54fab5cc4ec54cbbd2b823
parentc778d0788eecf6fc0e37a09cd65ff1cab4ff715e
Added "endfor" keyword to full fidelity parser

Summary:
This endfor token is required for PHP bash-style
```
for ($i = 0; $i < 4; $i++):
  echo $i;
endfor;
```

Reviewed By: oulgen

Differential Revision: D6932231

fbshipit-source-id: a753894b327977966e616c4411cc89fa29a8722b
hphp/hack/src/parser/full_fidelity_expression_parser.ml
hphp/hack/src/parser/full_fidelity_token_kind.ml
hphp/hack/src/parser/js/full_fidelity_editable.js
hphp/hack/src/parser/js/full_fidelity_schema.json
hphp/hack/src/parser/php/full_fidelity_editable.php
hphp/hack/src/parser/schema/full_fidelity_schema.ml