mirror of
https://github.com/janet-lang/janet
synced 2025-06-18 14:34:14 +00:00
Address #1591 - remove _ behavior of docstring format
This commit is contained in:
parent
f3ad13c2d4
commit
56c5a0ca09
@ -158,7 +158,7 @@
|
|||||||
``Define an alias for a keyword that is used as a dynamic binding. The
|
``Define an alias for a keyword that is used as a dynamic binding. The
|
||||||
alias is a normal, lexically scoped binding that can be used instead of
|
alias is a normal, lexically scoped binding that can be used instead of
|
||||||
a keyword to prevent typos. `defdyn` does not set dynamic bindings or otherwise
|
a keyword to prevent typos. `defdyn` does not set dynamic bindings or otherwise
|
||||||
replace `dyn` and `setdyn`. The alias _must_ start and end with the `*` character, usually
|
replace `dyn` and `setdyn`. The alias *must* start and end with the `*` character, usually
|
||||||
called "earmuffs".``
|
called "earmuffs".``
|
||||||
[alias & more]
|
[alias & more]
|
||||||
(assert (symbol? alias) "alias must be a symbol")
|
(assert (symbol? alias) "alias must be a symbol")
|
||||||
@ -3384,7 +3384,6 @@
|
|||||||
(= b (chr `\`)) (do
|
(= b (chr `\`)) (do
|
||||||
(++ token-length)
|
(++ token-length)
|
||||||
(buffer/push token (get line (++ i))))
|
(buffer/push token (get line (++ i))))
|
||||||
(= b (chr "_")) (delim :underline)
|
|
||||||
(= b (chr "*"))
|
(= b (chr "*"))
|
||||||
(if (= (chr "*") (get line (+ i 1)))
|
(if (= (chr "*") (get line (+ i 1)))
|
||||||
(do (++ i)
|
(do (++ i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user