Skip to content

Commit

Permalink
Remove Copyright from every source file
Browse files Browse the repository at this point in the history
Replace it by website link; copyright appears in the LICENSE file already, which is sufficient
  • Loading branch information
eliben committed Feb 2, 2017
1 parent c36e7fb commit 6d45ff7
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 23 deletions.
4 changes: 3 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Copyright (c) 2008-2016, Eli Bendersky
pycparser -- A C parser in Python

Copyright (c) 2008-2017, Eli Bendersky
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion examples/c-to-c.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Example of using pycparser.c_generator, serving as a simplistic translator
# from C to AST and back to C.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#------------------------------------------------------------------------------
from __future__ import print_function
Expand Down
2 changes: 1 addition & 1 deletion examples/cdecl.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# =>
# ar is a pointer to array[10] of pointer to const Node
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
import sys
Expand Down
2 changes: 1 addition & 1 deletion examples/explore_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# information from the AST.
# It helps to have the pycparser/_c_ast.cfg file in front of you.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
Expand Down
2 changes: 1 addition & 1 deletion examples/func_calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Using pycparser for printing out all the calls of some function
# in a C file.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
Expand Down
2 changes: 1 addition & 1 deletion examples/func_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# This is a simple example of traversing the AST generated by
# pycparser. Call it from the root directory of pycparser.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
Expand Down
2 changes: 1 addition & 1 deletion examples/rewrite_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Tiny example of rewriting a AST node
#
# Copyright (C) 2014, Akira Hayakawa
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
Expand Down
2 changes: 1 addition & 1 deletion examples/using_cpp_libc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# the 'real' cpp if you're on Linux/Unix) and "fake" libc includes
# to parse a file that includes standard C headers.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
import sys
Expand Down
2 changes: 1 addition & 1 deletion examples/using_gcc_E_libc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# of 'cpp'. The same can be achieved with Clang instead of gcc. If you have
# Clang installed, simply replace 'gcc' with 'clang' here.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-------------------------------------------------------------------------------
import sys
Expand Down
2 changes: 1 addition & 1 deletion pycparser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This package file exports some convenience functions for
# interacting with pycparser
#
# Copyright (C) 2008-2016, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
__all__ = ['c_lexer', 'c_parser', 'c_ast']
Expand Down
4 changes: 2 additions & 2 deletions pycparser/_ast_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# The design of this module was inspired by astgen.py from the
# Python 2.5 code-base.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
import pprint
Expand Down Expand Up @@ -150,7 +150,7 @@ def _gen_attr_names(self):
#
# AST Node classes.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pycparser/_build_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Also generates AST code from the configuration file.
# Should be called from the pycparser directory.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pycparser/_c_ast.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# <name>** - a sequence of child nodes
# <name> - an attribute
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pycparser/ast_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Some utilities used by the parser to create a friendlier AST.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pycparser/c_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# AST Node classes.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pycparser/c_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# C code generator from pycparser AST nodes.
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#------------------------------------------------------------------------------
from . import c_ast
Expand Down
2 changes: 1 addition & 1 deletion pycparser/c_lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# CLexer class: lexer for the C language
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#------------------------------------------------------------------------------
import re
Expand Down
2 changes: 1 addition & 1 deletion pycparser/c_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# CParser class: Parser and AST builder for the C language
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#------------------------------------------------------------------------------
import re
Expand Down
2 changes: 1 addition & 1 deletion pycparser/ply/cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# cpp.py
#
# Author: David Beazley (http://www.dabeaz.com)
# Copyright (C) 2007
# Eli Bendersky [http://eli.thegreenplace.net]
# All rights reserved
#
# This module implements an ANSI-C style lexical preprocessor for PLY.
Expand Down
2 changes: 1 addition & 1 deletion pycparser/ply/lex.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -----------------------------------------------------------------------------
# ply: lex.py
#
# Copyright (C) 2001-2016
# Eli Bendersky [http://eli.thegreenplace.net]
# David M. Beazley (Dabeaz LLC)
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion pycparser/ply/yacc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -----------------------------------------------------------------------------
# ply: yacc.py
#
# Copyright (C) 2001-2016
# Eli Bendersky [http://eli.thegreenplace.net]
# David M. Beazley (Dabeaz LLC)
# All rights reserved.
#
Expand Down
2 changes: 1 addition & 1 deletion pycparser/plyparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLYParser class and other utilites for simplifying programming
# parsers with PLY
#
# Copyright (C) 2008-2015, Eli Bendersky
# Eli Bendersky [http://eli.thegreenplace.net]
# License: BSD
#-----------------------------------------------------------------

Expand Down

0 comments on commit 6d45ff7

Please sign in to comment.