Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
badw-it
DHParser
Commits
07003c56
Commit
07003c56
authored
Jul 30, 2018
by
eckhart
Browse files
- opera minora angepasst
parent
b6e34822
Changes
1
Hide whitespace changes
Inline
Side-by-side
DHParser/parse.py
View file @
07003c56
...
...
@@ -972,6 +972,9 @@ class Whitespace(RegExp):
is a RegExp-parser for whitespace."""
assert
WHITESPACE_PTYPE
==
":Whitespace"
def
__repr__
(
self
):
return
'~'
########################################################################
#
...
...
@@ -1750,12 +1753,6 @@ class Synonym(UnaryOperator):
def
__repr__
(
self
):
return
self
.
name
or
self
.
parser
.
repr
def
__str__
(
self
):
return
super
().
__str__
()
def
repr
(
self
)
->
str
:
return
super
().
repr
class
Forward
(
Parser
):
r
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment