Skip to content

Commit

Permalink
Fix copyright headers
Browse files Browse the repository at this point in the history
    Replaces the old notation of copyright by a new one including every
:duck: of the project.

Signed-off-by: Rafael Campos Nunes <rafaelnunes@engineer.com>
  • Loading branch information
rafaelcn committed Oct 25, 2017
1 parent fe0655f commit b4c0241
Show file tree
Hide file tree
Showing 116 changed files with 135 additions and 230 deletions.
3 changes: 1 addition & 2 deletions build.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
20 changes: 20 additions & 0 deletions node/quack.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/**
* Quack Compiler and toolkit
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
* Quack is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Quack is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Quack. If not, see <http://www.gnu.org/licenses/>.
*/

#include <node.h>
#include <iostream>
#include <fstream>
Expand Down
3 changes: 1 addition & 2 deletions src/Main.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/Node.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/AccessExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/ArrayExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/AtomExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/BlockExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/BoolExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/CallExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/Expr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/LambdaExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/MapExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/MatchExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/NameExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/NumberExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/ObjectExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/OperatorExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/PartialFuncExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/PostfixExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/PrefixExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/RangeExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/RegexExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/StringExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/TernaryExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/TupleExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/expr/WhereExpr.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/BlockStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/BreakStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/ContinueStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/ElifStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/ExprStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/FnSignatureStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/FnStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/ForeachStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/IfStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/LabelStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
3 changes: 1 addition & 2 deletions src/ast/stmt/LetStmt.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php
/**
* Quack Compiler and toolkit
* Copyright (C) 2016 Marcelo Camargo <marcelocamargo@linuxmail.org> and
* CONTRIBUTORS.
* Copyright (C) 2015-2017 Quack and CONTRIBUTORS
*
* This file is part of Quack.
*
Expand Down
Loading

0 comments on commit b4c0241

Please sign in to comment.