Github user Jens-G commented on a diff in the pull request:
https://github.com/apache/thrift/pull/1013#discussion_r64139729
--- Diff: tutorial/haxe/src/Main.hx ---
@@ -51,14 +51,44 @@ class Main {
private static var targetPort : Int = 9090;
static function main() {
- #if ! (flash || js)
+
+ #if ! (flash || js || phpwebserver)
try {
ParseArgs();
} catch (e : String) {
trace(e);
trace(GetHelp());
return;
}
+
+ #elseif phpwebserver
--- End diff --
But we still can put everything between ```#elseif phpwebserver``` and
```#endif``` into a separate method, couldn't we? In my opintion, we should not
sacrifice code clarity to some obscure PHP edge case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---