X-Git-Url: http://nitlanguage.org diff --git a/src/parser/xss/lexer.xss b/src/parser/xss/lexer.xss index e8961ca..3bb9e2e 100644 --- a/src/parser/xss/lexer.xss +++ b/src/parser/xss/lexer.xss @@ -73,8 +73,9 @@ $ end foreach return result end - # Get a token, or null if it is discarded - private fun get_token: nullable Token + # Primitive method to return a token, or return null if it is discarded + # Is used to implement `peek` and `next` + protected fun get_token: nullable Token do var dfa_state = 0