nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parser: also visit EOF token
[nit.git]
/
src
/
parser
/
parser_prod.nit
diff --git
a/src/parser/parser_prod.nit
b/src/parser/parser_prod.nit
index
b695305
..
d9929e7
100644
(file)
--- a/
src/parser/parser_prod.nit
+++ b/
src/parser/parser_prod.nit
@@
-9738,10
+9738,12
@@
redef class Start
if _n_base != null then
v.enter_visit(_n_base.as(not null))
end
+ v.enter_visit(_n_eof)
end
redef fun visit_all_reverse(v: Visitor)
do
+ v.enter_visit(_n_eof)
if _n_base != null then
v.enter_visit(_n_base.as(not null))
end