nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb3308
)
lib/dom: initialize `XMLEntity::parent` to null
author
Jean Privat
<jean@pryen.org>
Thu, 6 Aug 2015 14:31:57 +0000
(10:31 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 6 Aug 2015 14:34:14 +0000
(10:34 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/dom/xml_entities.nit
patch
|
blob
|
history
diff --git
a/lib/dom/xml_entities.nit
b/lib/dom/xml_entities.nit
index
9e6c8bc
..
67dc4ac
100644
(file)
--- a/
lib/dom/xml_entities.nit
+++ b/
lib/dom/xml_entities.nit
@@
-36,7
+36,7
@@
import parser_base
# Any kind of XML Entity
abstract class XMLEntity
# Optional parent of `self`
- var parent: nullable XMLEntity is private writable(set_parent)
+ var parent: nullable XMLEntity = null is private writable(set_parent)
# Optional location of the entity in source
var location: nullable Location