nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'update_syntax' into next
[nit.git]
/
src
/
parser
/
lexer.nit
diff --git
a/src/parser/lexer.nit
b/src/parser/lexer.nit
index
8e1b0ec
..
e66dc87
100644
(file)
--- a/
src/parser/lexer.nit
+++ b/
src/parser/lexer.nit
@@
-1264,7
+1264,7
@@
class Lexer
result = get_token
end
_token = null
result = get_token
end
_token = null
- return result.as(not null)
+ return result
end
# Get a token, or null if it is discarded
end
# Get a token, or null if it is discarded
@@
-1655,9
+1655,7
@@
class Lexer
end
end
end
end
end
end
- if false then break # FIXME remove once unreach loop exits are in c_src
end
end
- return null # FIXME remove once unreach loop exits are in c_src
end
# Read the next character.
end
# Read the next character.