Skip to content

Commit cb1a9ef

Browse files
committed
doc: minor corrections
1 parent 921190f commit cb1a9ef

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

doc/doc.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ pre {font-size:small; overflow-x:auto}
44
.comment, .code {display:inline-block}
55
.comment {width:37%; margin:0 2% 0 1%}
66
.comment code {
7-
background-color: rgba(0,0,0,.08); padding:0 .5ex;
7+
background-color:rgba(0,0,0,.08); padding:0 .5ex;
88
border-radius:1ex; -moz-border-radius:1ex; -webkit-border-radius:1ex;
99
}
10-
.comment pre > code {background-color:transparent; padding-left:1em}
10+
.comment pre > code {display:block; background-color:transparent}
1111
.code {width:60%; float:right}
1212
.block {clear:both; position:relative}
1313
.anchor {position:absolute; font:bold small mono-space}

doc/doc.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/lang-co.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lang-co.co

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ tint \co [
2525
[\com /// ^ /\* [\S\s]* \*/ ///]
2626
[\pln /// ^ (?
2727
: \.{3}
28-
| (?: [?~]?\. (?:\s*(?:[-+*/%&|^:]|>>>?|<<)?=)? \s* | [)}\]] | :: ) #{ident}?
28+
| (?: \.\s*(?:(?:[-+*/%&|^:]|>>>?|<<)?=|[~!@])?\s* | [)}\]?] | :: )
29+
(?: #{ident}[~!@]? )+
2930
| #{ident} [^\n\S]* :(?!:)
3031
) ///]
3132
# ref. [retrie](https://github.com/satyr/retrie)
3233
[\kwd /// ^ (?
33-
: t(?:ry|h(?:row|en)|ypeof)
34+
: t(?:ry|h(?:row|en)|ypeof!?)
3435
| f(?:or(?:[^\n\S]+(?:own|ever))?|inally|unction)
3536
| n(?:ew|ot)
3637
| c(?:ontinue|a(?:se|tch)|lass)

0 commit comments

Comments
 (0)