nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare Nit code for inherited and automatic constructors.
[nit.git]
/
src
/
parser
/
xss
/
tokens.xss
diff --git
a/src/parser/xss/tokens.xss
b/src/parser/xss/tokens.xss
index
9e9f808
..
2796cde
100644
(file)
--- a/
src/parser/xss/tokens.xss
+++ b/
src/parser/xss/tokens.xss
@@
-26,9
+26,11
@@
$ end
$ end
class EOF
special Token
$ end
class EOF
special Token
+private init noinit do end
end
class PError
special EOF
end
class PError
special EOF
+private init noinit do end
end
$ end template
end
$ end template
@@
-56,11
+58,11
@@
redef class @ename
end
$ if {not(@text)}
end
$ if {not(@text)}
- init(text: String, fname: String, line: Int, pos: Int)
+ init init_tk(text: String, fname: String, line: Int, pos: Int)
do
_text = text
$ else
do
_text = text
$ else
- init(fname: String, line: Int, pos: Int)
+ init init_tk(fname: String, line: Int, pos: Int)
do
_text = once "${sablecc:string2escaped_unicode(@text)}"
$ end
do
_text = once "${sablecc:string2escaped_unicode(@text)}"
$ end