Browse Source

Cleanup of copyright headers.

cl-refactor
Christian 10 years ago
parent
commit
cf2cc8e8ba
  1. 92
      libsolidity/Scanner.cpp
  2. 92
      libsolidity/Scanner.h

92
libsolidity/Scanner.cpp

@ -1,44 +1,54 @@
// Copyright 2006-2012, the V8 project authors. All rights reserved. /*
// Redistribution and use in source and binary forms, with or without This file is part of cpp-ethereum.
// modification, are permitted provided that the following conditions are
// met: cpp-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// * Redistributions of source code must retain the above copyright the Free Software Foundation, either version 3 of the License, or
// notice, this list of conditions and the following disclaimer. (at your option) any later version.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following cpp-ethereum is distributed in the hope that it will be useful,
// disclaimer in the documentation and/or other materials provided but WITHOUT ANY WARRANTY; without even the implied warranty of
// with the distribution. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * Neither the name of Google Inc. nor the names of its GNU General Public License for more details.
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission. You should have received a copy of the GNU General Public License
// along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT This file is derived from the file "scanner.cc", which was part of the
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR V8 project. The original copyright header follows:
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, Copyright 2006-2012, the V8 project authors. All rights reserved.
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT Redistribution and use in source and binary forms, with or without
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, modification, are permitted provided that the following conditions are
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY met:
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * Redistributions of source code must retain the above copyright
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// Modifications as part of cpp-ethereum under the following license: copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// cpp-ethereum is free software: you can redistribute it and/or modify with the distribution.
// it under the terms of the GNU General Public License as published by * Neither the name of Google Inc. nor the names of its
// the Free Software Foundation, either version 3 of the License, or contributors may be used to endorse or promote products derived
// (at your option) any later version. from this software without specific prior written permission.
//
// cpp-ethereum is distributed in the hope that it will be useful, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// but WITHOUT ANY WARRANTY; without even the implied warranty of "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// GNU General Public License for more details. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// You should have received a copy of the GNU General Public License SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
* @author Christian <c@ethdev.com>
* @date 2014
* Solidity scanner.
*/
#include <algorithm> #include <algorithm>
#include <tuple> #include <tuple>

92
libsolidity/Scanner.h

@ -1,44 +1,54 @@
// Copyright 2006-2012, the V8 project authors. All rights reserved. /*
// Redistribution and use in source and binary forms, with or without This file is part of cpp-ethereum.
// modification, are permitted provided that the following conditions are
// met: cpp-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// * Redistributions of source code must retain the above copyright the Free Software Foundation, either version 3 of the License, or
// notice, this list of conditions and the following disclaimer. (at your option) any later version.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following cpp-ethereum is distributed in the hope that it will be useful,
// disclaimer in the documentation and/or other materials provided but WITHOUT ANY WARRANTY; without even the implied warranty of
// with the distribution. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * Neither the name of Google Inc. nor the names of its GNU General Public License for more details.
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission. You should have received a copy of the GNU General Public License
// along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT This file is derived from the file "scanner.h", which was part of the
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR V8 project. The original copyright header follows:
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, Copyright 2006-2012, the V8 project authors. All rights reserved.
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT Redistribution and use in source and binary forms, with or without
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, modification, are permitted provided that the following conditions are
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY met:
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * Redistributions of source code must retain the above copyright
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// Modifications as part of cpp-ethereum under the following license: copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// cpp-ethereum is free software: you can redistribute it and/or modify with the distribution.
// it under the terms of the GNU General Public License as published by * Neither the name of Google Inc. nor the names of its
// the Free Software Foundation, either version 3 of the License, or contributors may be used to endorse or promote products derived
// (at your option) any later version. from this software without specific prior written permission.
//
// cpp-ethereum is distributed in the hope that it will be useful, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// but WITHOUT ANY WARRANTY; without even the implied warranty of "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// GNU General Public License for more details. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// You should have received a copy of the GNU General Public License SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
* @author Christian <c@ethdev.com>
* @date 2014
* Solidity scanner.
*/
#pragma once #pragma once

Loading…
Cancel
Save