mwilliams
27601d53fd
Revert "Allow shebang/hashbang (#!) as first line of Hack files"
...
This reverts commit d1f3c9e03d4eed7a3262bcdb461b77bbd661e5d6.
Its breaking tests
2013-05-15 13:05:09 -07:00
Matt Glazar
eb6eb3f495
Allow shebang/hashbang (#!) as first line of Hack files
...
A shebang allow a script to be run as an executable on UNIX
systems. PHP allows shebangs, but Hack does not. This
changeset allows Hack to have shebangs like in PHP.
2013-05-15 13:05:08 -07:00
Drew Paroski
a8d84e2f21
Refactor HipHopSyntax and HackMode to play nice
2013-05-15 13:05:04 -07:00
Alok Menghrajani
db9577b140
Rename strict with Hack
...
Strict mode was the old name. Let's avoid any confusion in the future and rename things.
2013-05-15 13:05:03 -07:00
Sara Golemon
38f9fab773
Fix __HALT_COMPILER() support
...
Actually halt the compiler, and set __COMPILER_HALT_OFFSET__ constant
2013-05-01 20:59:44 -07:00
Owen Yamauchi
05b6e5be7d
Rename lexer source and add generator rule
2013-04-25 00:50:00 -07:00