Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parser-siesta
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nomad-lab
parser-siesta
Commits
68b89cde
Commit
68b89cde
authored
Mar 29, 2019
by
Markus Scheidgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed double instantiation of context.
parent
7505b8b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
siestaparser/main.py
siestaparser/main.py
+2
-3
No files found.
siestaparser/main.py
View file @
68b89cde
...
...
@@ -207,8 +207,7 @@ class SiestaContext(object):
def
startedParsing
(
self
,
fname
,
parser
):
self
.
fname
=
fname
path
=
os
.
path
.
abspath
(
fname
)
self
.
dirname
,
_
=
os
.
path
.
split
(
path
)
#self.parser = parser
self
.
dirname
=
os
.
path
.
dirname
(
path
)
#def onClose_x_siesta_section_xc_authors(self, backend, gindex, section):
...
...
@@ -678,7 +677,7 @@ class SiestaParser():
metaInfoEnv
,
parser_info
,
cachingLevelForMetaName
=
{},
superContext
=
SiestaContext
()
,
superContext
=
context
,
superBackend
=
backend
)
return
backend
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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