X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/dea4d05507e59ab779ed4bb209e05971d87e260c..bf090e021a5c20da452a4841cdfb8eb78e29544e:/src/proto-lexer.lisp diff --git a/src/proto-lexer.lisp b/src/proto-lexer.lisp index 9c78a9b..5f7a9af 100644 --- a/src/proto-lexer.lisp +++ b/src/proto-lexer.lisp @@ -38,20 +38,6 @@ (defgeneric lexer-char (lexer) the end of its input stream by setting the lookahead character to nil. At this point it is still possible to push back characters.")) -(export '(token-type token-value)) -(defgeneric token-type (lexer) - (:documentation - "Return the type of the LEXER's current lookahead token - - When the lexer is first created, there is no lookahead token: you must - `prime the pump' by calling NEXT-TOKEN.")) -(defgeneric token-value (lexer) - (:documentation - "Return the value of the LEXER's current lookahead token - - When the lexer is first created, there is no lookahead token: you must - `prime the pump' by calling NEXT-TOKEN.")) - ;;;-------------------------------------------------------------------------- ;;; Formatting tokens.