{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/zephir/issues/824","labels_url":"https://api.github.com/repos/phalcon/zephir/issues/824/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/zephir/issues/824/comments","events_url":"https://api.github.com/repos/phalcon/zephir/issues/824/events","html_url":"https://github.com/phalcon/zephir/issues/824","id":62421110,"number":824,"title":"Syntax error when trying to build Zephir","user":{"login":"BonnieDoug","id":4302775,"avatar_url":"https://avatars.githubusercontent.com/u/4302775?v=3","gravatar_id":"","url":"https://api.github.com/users/BonnieDoug","html_url":"https://github.com/BonnieDoug","followers_url":"https://api.github.com/users/BonnieDoug/followers","following_url":"https://api.github.com/users/BonnieDoug/following{/other_user}","gists_url":"https://api.github.com/users/BonnieDoug/gists{/gist_id}","starred_url":"https://api.github.com/users/BonnieDoug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BonnieDoug/subscriptions","organizations_url":"https://api.github.com/users/BonnieDoug/orgs","repos_url":"https://api.github.com/users/BonnieDoug/repos","events_url":"https://api.github.com/users/BonnieDoug/events{/privacy}","received_events_url":"https://api.github.com/users/BonnieDoug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T15:03:47Z","updated_at":"2015-03-17T15:14:17Z","closed_at":null,"body":"Just gone through the install steps for Zephir, but once I get to the Zephir Build step I get the following error:\r\n\r\n    c:\\zephir>zephir build\r\n    Zephir\\ParseException: Syntax error in C:\\zephir\\test\\fcall.zep on line 7\r\n\r\n        function zephir_global_method_test(var str)\r\n        -------^\r\n\r\n    at Library\\CompilerFile.php(534)\r\n    #0 Library\\Compiler.php(159): Zephir\\CompilerFile->preCompile(Object(Zephir\\Compiler))\r\n    #1 Library\\Compiler.php(199): Zephir\\Compiler->preCompile('test\\fcall.zep')\r\n    #2 Library\\Compiler.php(686): Zephir\\Compiler->recursivePreCompile('test')\r\n    #3 Library\\Compiler.php(880): Zephir\\Compiler->generate(Object(Zephir\\Commands\\CommandBuild))\r\n    #4 Library\\Compiler.php(985): Zephir\\Compiler->compile(Object(Zephir\\Commands\\CommandBuild), false)\r\n    #5 Library\\Compiler.php(1054): Zephir\\Compiler->install(Object(Zephir\\Commands\\CommandBuild), false)\r\n    #6 Library\\Commands\\CommandAbstract.php(72): Zephir\\Compiler>build(Object(Zephir\\Commands\\CommandBuild))\r\n    #7 Library\\Bootstrap.php(200): Zephir\\Commands\\CommandAbstract->execute(Object(Zephir\\Config), Object(Zephir\\Logger))\r\n    #8 compiler.php(21): Zephir\\Bootstrap::boot()\r\n    #9 {main}\r\n\r\nThis is using php 5.5 nts with VS2012.\r\n\r\nSystem PATH currently has these (Plus many more)\r\n\r\n    C:\\xampp\\php; //(5.5 nts)\r\n    C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;\r\n    C:\\zephir\\bin;\r\n    C:\\phpdevpack; //(php-5.5.22-nts-Win32-VC11-x86.zip)\r\n    C:\\phpsdk; //(php-sdk-binary-tools-20110915.zip)\r\n\r\nNot to sure what else to put here but I'll happily supply any other info needed.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9662304-syntax-error-when-trying-to-build-zephir?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/phalcon/zephir/issues/comments/82401695","html_url":"https://github.com/phalcon/zephir/issues/824#issuecomment-82401695","issue_url":"https://api.github.com/repos/phalcon/zephir/issues/824","id":82401695,"user":{"login":"BonnieDoug","id":4302775,"avatar_url":"https://avatars.githubusercontent.com/u/4302775?v=3","gravatar_id":"","url":"https://api.github.com/users/BonnieDoug","html_url":"https://github.com/BonnieDoug","followers_url":"https://api.github.com/users/BonnieDoug/followers","following_url":"https://api.github.com/users/BonnieDoug/following{/other_user}","gists_url":"https://api.github.com/users/BonnieDoug/gists{/gist_id}","starred_url":"https://api.github.com/users/BonnieDoug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BonnieDoug/subscriptions","organizations_url":"https://api.github.com/users/BonnieDoug/orgs","repos_url":"https://api.github.com/users/BonnieDoug/repos","events_url":"https://api.github.com/users/BonnieDoug/events{/privacy}","received_events_url":"https://api.github.com/users/BonnieDoug/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T15:14:17Z","updated_at":"2015-03-17T15:14:17Z","body":"All I've done is follow the steps as described here https://github.com/phalcon/zephir/blob/master/WINDOWS.md except for the setx commands were failing with a \"WARNING: The data being saved is truncated to 1024 characters.\" error, so I set them manually in System/Advanced System Settings/Environmental Variables/Path "}}