Lex "fallthrough" comments
commit398bbde5448ff242997fbc2e8d00c6b7f371f80a
authorEric Lippert <ericlippert@fb.com>
Wed, 11 Jan 2017 13:16:40 +0000 (11 05:16 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 11 Jan 2017 13:36:42 +0000 (11 05:36 -0800)
tree9d6f170e5b5d7a8cf8a1f4bda4643a1e42f667e1
parent0cabfe0c408ab7e423a50b7ffdcf48a5e8a28ba8
Lex "fallthrough" comments

Summary:
A comment of the form

    // FALLTHROUGH

is now lexed as a "FallThrough" comment rather than a "SingleLineComment".

Reviewed By: savil

Differential Revision: D4397852

fbshipit-source-id: 918e4c3247450e9de9ab363296b41d539c04159f
hphp/hack/src/full_fidelity/full_fidelity_lexer.ml
hphp/hack/src/full_fidelity/full_fidelity_minimal_trivia.ml
hphp/hack/test/full_fidelity/full_fidelity_test_utils.ml