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