Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
added <?hh
Browse files Browse the repository at this point in the history
Summary: hack files start with <?hh

Test Plan: eyes

Reviewers: pad

Differential Revision: https://phabricator.fb.com/D491834
  • Loading branch information
julienv committed Jun 11, 2012
1 parent c103157 commit 67977e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lang_php/parsing/lexer_php.mll
Expand Up @@ -910,6 +910,7 @@ rule st_in_scripting = parse
(*s: rule initial *)
and initial = parse

| "<?hh" ([' ''\t']|NEWLINE)
| "<?php" ([' ''\t']|NEWLINE)
{
(* I now do a yyless to not eat the newline which is more
Expand Down

0 comments on commit 67977e0

Please sign in to comment.