chiark
/
gitweb
/
~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/parser/parser-expr-proto.lisp: Get `expr' to cache operators.
[sod]
/
src
/
parser
/
scanner-proto.lisp
diff --git
a/src/parser/scanner-proto.lisp
b/src/parser/scanner-proto.lisp
index c6236c5868e58b75b42562b4b652b831d60529bd..aed4c9f3bd0216ce90dba3c07a36d6f7b8707a92 100644
(file)
--- a/
src/parser/scanner-proto.lisp
+++ b/
src/parser/scanner-proto.lisp
@@
-74,7
+74,7
@@
(defgeneric scanner-capture-place (scanner)
(:documentation
"Capture the SCANNER's current place and return it.")
(:method (scanner)
(:documentation
"Capture the SCANNER's current place and return it.")
(:method (scanner)
- (error "Scanner ~S doesn't support rewinding
.
" scanner)))
+ (error "Scanner ~S doesn't support rewinding" scanner)))
(export 'scanner-restore-place)
(defgeneric scanner-restore-place (scanner place)
(export 'scanner-restore-place)
(defgeneric scanner-restore-place (scanner place)
@@
-157,6
+157,7
@@
(defgeneric scanner-column (scanner)
(:documentation "Return the SCANNER's current column number.")
(:method (scanner) nil))
(:documentation "Return the SCANNER's current column number.")
(:method (scanner) nil))
+(export 'scanner-file-location)
(defun scanner-file-location (scanner)
"Capture the current location of the SCANNER.
(defun scanner-file-location (scanner)
"Capture the current location of the SCANNER.