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
e9527639
Commit
e9527639
authored
Nov 09, 2018
by
di68kap
Browse files
- weitere Regeln eingebaut
parent
d0e0a4d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
DHParser/transform.py
View file @
e9527639
...
...
@@ -400,7 +400,7 @@ def is_anonymous(context: List[Node]) -> bool:
def
is_whitespace
(
context
:
List
[
Node
])
->
bool
:
"""Re
moves
whitespace and comments defined with the
"""Re
turns ``True`` for
whitespace and comments defined with the
``@comment``-directive."""
return
context
[
-
1
].
parser
.
ptype
==
WHITESPACE_PTYPE
...
...
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