mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
texinfo: Recognize `@:'.
* module/texinfo.scm (read-command-token): Recognize @:. * test-suite/tests/texinfo.test ("test-texinfo->stexinfo"): Add test.
This commit is contained in:
parent
797b2aa69a
commit
4215ea75a5
2 changed files with 3 additions and 1 deletions
|
@ -485,7 +485,7 @@ Examples:
|
|||
(assert-curr-char '(#\@) "start of the command" port)
|
||||
(let ((peeked (peek-char port)))
|
||||
(cond
|
||||
((memq peeked '(#\! #\. #\? #\@ #\\ #\{ #\}))
|
||||
((memq peeked '(#\! #\: #\. #\? #\@ #\\ #\{ #\}))
|
||||
;; @-commands that escape characters
|
||||
(make-token 'STRING (string (read-char port))))
|
||||
(else
|
||||
|
|
|
@ -419,4 +419,6 @@
|
|||
(test-body "@pxref{Locales, @code{setlocale}}"
|
||||
'((para (pxref (% (node "Locales")
|
||||
(name (code "setlocale")))))))
|
||||
(test-body "Like this---e.g.@:, at colon."
|
||||
((para "Like this---e.g.:, at colon.")))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue