Permalink
Browse files

added <?hh

Summary: hack files start with <?hh

Test Plan: eyes

Reviewers: pad

Differential Revision: https://phabricator.fb.com/D491834
  • Loading branch information...
pikatchu committed Jun 11, 2012
1 parent c103157 commit 67977e0492cc206b9e31819e76748500120ee158
Showing with 1 addition and 0 deletions.
  1. +1 −0 lang_php/parsing/lexer_php.mll
@@ -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

0 comments on commit 67977e0

Please sign in to comment.