nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: Nitsmell : Adding new code smells and print console updated
[nit.git]
/
lib
/
nitcc_runtime.nit
diff --git
a/lib/nitcc_runtime.nit
b/lib/nitcc_runtime.nit
index
a09bc3c
..
cfddec3
100644
(file)
--- a/
lib/nitcc_runtime.nit
+++ b/
lib/nitcc_runtime.nit
@@
-15,6
+15,8
@@
# Runtime library required by parsers and lexers generated by nitcc
module nitcc_runtime
# Runtime library required by parsers and lexers generated by nitcc
module nitcc_runtime
+import serialization
+
# A abstract parser engine generated by nitcc
abstract class Parser
# The list of tokens
# A abstract parser engine generated by nitcc
abstract class Parser
# The list of tokens
@@
-303,6
+305,8
@@
end
# A position into a input stream
# Used to give position to tokens
class Position
# A position into a input stream
# Used to give position to tokens
class Position
+ serialize
+
var pos_start: Int
var pos_end: Int
var line_start: Int
var pos_start: Int
var pos_end: Int
var line_start: Int