File tree Expand file tree Collapse file tree 12 files changed +61
-31
lines changed Expand file tree Collapse file tree 12 files changed +61
-31
lines changed Original file line number Diff line number Diff line change 22#
33# (c) Zephir Team <team@zephir-lang.com>
44#
5- # For the full copyright and license information, please view the LICENSE
6- # file that was distributed with this source code.
5+ # For the full copyright and license information, please view
6+ # the LICENSE file that was distributed with this source code.
77
88Function EnsureRequiredDirectoriesPresent {
99 If (-not (Test-Path ' C:\Downloads' )) {
Original file line number Diff line number Diff line change 44#
55# (c) Zephir Team <team@zephir-lang.com>
66#
7- # For the full copyright and license information, please view the LICENSE
8- # file that was distributed with this source code.
7+ # For the full copyright and license information, please view
8+ # the LICENSE file that was distributed with this source code.
99
1010$( phpenv which php) -v
1111$( phpenv which php) -m
Original file line number Diff line number Diff line change 1+ REM This file is part of the Zephir Parser.
2+ REM
3+ REM (c) Zephir Team < team@zephir-lang.com>
4+ REM
5+ REM For the full copyright and license information, please view
6+ REM the LICENSE file that was distributed with this source code.
7+
18REM Rewrite this using PowerShell
29CD parser
310
Original file line number Diff line number Diff line change 44#
55# (c) Zephir Team <team@zephir-lang.com>
66#
7- # For the full copyright and license information, please view the LICENSE
8- # file that was distributed with this source code.
7+ # For the full copyright and license information, please view
8+ # the LICENSE file that was distributed with this source code.
99
1010if [ -z ${RE2C_VERSION+x} ]; then
1111 >&2 echo " The RE2C_VERSION value is not set. Stop."
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22#
3- # This file is part of the Zephir.
3+ # This file is part of the Zephir Parser .
44#
55# (c) Zephir Team <team@zephir-lang.com>
66#
7- # For the full copyright and license information, please view the LICENSE
8- # file that was distributed with this source code.
7+ # For the full copyright and license information, please view
8+ # the LICENSE file that was distributed with this source code.
99
1010export NO_INTERACTION=1
1111export REPORT_EXIT_STATUS=1
Original file line number Diff line number Diff line change 1+ /* base.c
2+ *
3+ * This file is part of the Zephir Parser.
4+ *
5+ * (c) Zephir Team <team@zephir-lang.com>
6+ *
7+ * For the full copyright and license information, please view
8+ * the LICENSE file that was distributed with this source code.
9+ */
110
211const xx_token_names xx_tokens [] =
312{
Original file line number Diff line number Diff line change 1+ /* parser.h
2+ *
3+ * This file is part of the Zephir Parser.
4+ *
5+ * (c) Zephir Team <team@zephir-lang.com>
6+ *
7+ * For the full copyright and license information, please view
8+ * the LICENSE file that was distributed with this source code.
9+ */
10+
111#include <php.h>
212#include <string.h>
313#include <ctype.h>
Original file line number Diff line number Diff line change 1-
2- / *
1+ /* scanner.h
2+ *
33 * This file is part of the Zephir Parser.
44 *
55 * (c) Zephir Team <team@zephir-lang.com>
66 *
7- * For the full copyright and license information, please view the LICENSE
8- * file that was distributed with this source code.
7+ * For the full copyright and license information, please view
8+ * the LICENSE file that was distributed with this source code.
99 */
1010
1111#ifndef PHP_ZEPHIR_SCANNER_H
12- #define PHP_ZEPHIR_SCANNER_H 1
12+ #define PHP_ZEPHIR_SCANNER_H
1313
1414#define XX_SCANNER_RETCODE_EOF -1
1515#define XX_SCANNER_RETCODE_ERR -2
Original file line number Diff line number Diff line change 1- /* This file is part of the Zephir Parser.
1+ /* scanner.re
2+ *
3+ * This file is part of the Zephir Parser.
24 *
35 * (c) Zephir Team <team@zephir-lang.com>
46 *
1618#include " scanner.h"
1719
1820// for re2c
19- #define YYCTYPE char
20- #define YYCURSOR (s->cursor)
21- #define YYLIMIT (s->limit)
22- #define YYMARKER (s->marker)
21+ #define YYCTYPE char
22+ #define YYCURSOR (s->cursor)
23+ #define YYLIMIT (s->limit)
24+ #define YYMARKER (s->marker)
2325
2426int xx_get_token (xx_scanner_state *s, xx_scanner_token *token) {
2527
Original file line number Diff line number Diff line change 1- /* This file is part of the Zephir Parser.
1+ /* xx.h
2+ *
3+ * This file is part of the Zephir Parser.
24 *
35 * (c) Zephir Team <team@zephir-lang.com>
46 *
5- * For the full copyright and license information, please view the LICENSE
6- * file that was distributed with this source code.
7+ * For the full copyright and license information, please view
8+ * the LICENSE file that was distributed with this source code.
79 */
810
911#ifndef PHP_ZEPHIR_XX_H
10- #define PHP_ZEPHIR_XX_H 1
12+ #define PHP_ZEPHIR_XX_H
1113
1214#include <Zend/zend_types.h> // zval, size_t
1315#include <Zend/zend_operators.h> // zend_atoi
You can’t perform that action at this time.
0 commit comments