]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/tools/types/adoc.jam
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / tools / types / adoc.jam
CommitLineData
b32b8144
FG
1#|
2Copyright 2017 Rene Rivera
3Distributed under the Boost Software License, Version 1.0. (See
1e59de90
TL
4accompanying file LICENSE.txt or copy at
5https://www.bfgroup.xyz/b2/LICENSE.txt)
b32b8144
FG
6|#
7
8import scanner ;
9import type ;
10
11type ASCIIDOC : adoc asciidoc ;
12
13class asciidoc-scanner : common-scanner
14{
15 rule pattern ( )
16 {
17 return
18 "include::([^[]+)"
19 "image::([^[]+)"
20 "image:([^[]+)"
21 ;
22 }
23}
24
25scanner.register asciidoc-scanner : include ;
26type.set-scanner ASCIIDOC : asciidoc-scanner ;