Skip to content

Commit 42b0568

Browse files
committed
Adjust copyright notice length
1 parent 596bfb9 commit 42b0568

File tree

12 files changed

+61
-31
lines changed

12 files changed

+61
-31
lines changed

.ci/AppVeyor.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#
33
# (c) Zephir Team <[email protected]>
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

88
Function EnsureRequiredDirectoriesPresent {
99
If (-not (Test-Path 'C:\Downloads')) {

.ci/after-failure.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#
55
# (c) Zephir Team <[email protected]>
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

.ci/build-win32.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
REM This file is part of the Zephir Parser.
2+
REM
3+
REM (c) Zephir Team <[email protected]>
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+
18
REM Rewrite this using PowerShell
29
CD parser
310

.ci/install-re2c.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#
55
# (c) Zephir Team <[email protected]>
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
if [ -z ${RE2C_VERSION+x} ]; then
1111
>&2 echo "The RE2C_VERSION value is not set. Stop."

.ci/run-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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 <[email protected]>
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
export NO_INTERACTION=1
1111
export REPORT_EXIT_STATUS=1

parser/base.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* base.c
2+
*
3+
* This file is part of the Zephir Parser.
4+
*
5+
* (c) Zephir Team <[email protected]>
6+
*
7+
* For the full copyright and license information, please view
8+
* the LICENSE file that was distributed with this source code.
9+
*/
110

211
const xx_token_names xx_tokens[] =
312
{

parser/parser.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/* parser.h
2+
*
3+
* This file is part of the Zephir Parser.
4+
*
5+
* (c) Zephir Team <[email protected]>
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>

parser/scanner.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
2-
/*
1+
/* scanner.h
2+
*
33
* This file is part of the Zephir Parser.
44
*
55
* (c) Zephir Team <[email protected]>
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

parser/scanner.re

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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 <[email protected]>
46
*
@@ -16,10 +18,10 @@
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

2426
int xx_get_token(xx_scanner_state *s, xx_scanner_token *token) {
2527

parser/xx.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
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 <[email protected]>
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

0 commit comments

Comments
 (0)