nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitc/loader: always build the module importation
[nit.git]
/
src
/
parser
/
xss
/
tokens.xss
diff --git
a/src/parser/xss/tokens.xss
b/src/parser/xss/tokens.xss
index
a5536fd
..
c1b37cb
100644
(file)
--- a/
src/parser/xss/tokens.xss
+++ b/
src/parser/xss/tokens.xss
@@
-54,4
+54,12
@@
end
$ end if
$ end foreach
+
+redef class EOF
+ redef fun parser_index: Int
+ do
+ return ${tokens/eof/@parser_index}
+ end
+end
+
$ end template