|
|
@ -37,7 +37,7 @@
|
|
|
|
((: ":") (string->symbol lexeme))
|
|
|
|
((: ":") (string->symbol lexeme))
|
|
|
|
(%prec (string->symbol lexeme))
|
|
|
|
(%prec (string->symbol lexeme))
|
|
|
|
(#\| 'PIPE)
|
|
|
|
(#\| 'PIPE)
|
|
|
|
((: #\newline #\tab " " (comment) (@ "{" (* (^ "}")) "}")) (without-src-pos (get-token-grammar input-port)))
|
|
|
|
((: #\newline #\tab " " (comment) (@ "{" (* (^ "}")) "}")) (return-without-pos (get-token-grammar input-port)))
|
|
|
|
(#\; 'SEMI)
|
|
|
|
(#\; 'SEMI)
|
|
|
|
(#\' (token-STRING (string->symbol (list->string (match-single-string input-port)))))
|
|
|
|
(#\' (token-STRING (string->symbol (list->string (match-single-string input-port)))))
|
|
|
|
(#\" (token-STRING (string->symbol (list->string (match-double-string input-port)))))
|
|
|
|
(#\" (token-STRING (string->symbol (list->string (match-double-string input-port)))))
|
|
|
@ -129,4 +129,4 @@
|
|
|
|
(error ___)
|
|
|
|
(error ___)
|
|
|
|
(tokens t et)
|
|
|
|
(tokens t et)
|
|
|
|
(grammar ,@gram))))
|
|
|
|
(grammar ,@gram))))
|
|
|
|
(close-input-port i)))))
|
|
|
|
(close-input-port i)))))
|
|
|
|