Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use https:// for all project links where available #267

Merged
merged 1 commit into from
Jun 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pycparser v2.18
===============

:Author: `Eli Bendersky <http://eli.thegreenplace.net>`_
:Author: `Eli Bendersky <https://eli.thegreenplace.net/>`_


.. contents::
Expand Down Expand Up @@ -158,7 +158,7 @@ the source is a previously defined type. This is essential in order to be able
to parse C correctly.

See `this blog post
<http://eli.thegreenplace.net/2015/on-parsing-c-type-declarations-and-fake-headers>`_
<https://eli.thegreenplace.net/2015/on-parsing-c-type-declarations-and-fake-headers>`_
for more details.

Basic usage
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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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 @@ -29,7 +29,7 @@
# explain_c_declaration(c_decl, expand_struct=True)
# => p is a struct P containing {x is a int, y is a int}
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
import copy
Expand Down
2 changes: 1 addition & 1 deletion examples/dump_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Basic example of parsing a file and dumping its parsed AST.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
Expand Down
2 changes: 1 addition & 1 deletion examples/serialize_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Simple example of serializing AST
#
# Hart Chu [https://github.com/CtheSky]
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
import pprint
Expand Down Expand Up @@ -180,7 +180,7 @@ def _gen_attr_names(self):
#
# AST Node classes.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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.
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://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
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#------------------------------------------------------------------------------
import re
Expand Down
2 changes: 1 addition & 1 deletion pycparser/ply/yacc.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def restart(self):
# certain kinds of advanced parsing situations where the lexer and parser interact with
# each other or change states (i.e., manipulation of scope, lexer states, etc.).
#
# See: http://www.gnu.org/software/bison/manual/html_node/Default-Reductions.html#Default-Reductions
# See: https://www.gnu.org/software/bison/manual/html_node/Default-Reductions.html#Default-Reductions
def set_defaulted_states(self):
self.defaulted_states = {}
for state, actions in self.action.items():
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
#
# Eli Bendersky [http://eli.thegreenplace.net]
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------

Expand Down