File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
9
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10
- refs/heads/dist-snap: 8604165871d2744ea762f762c95d4aef66e8eba0
10
+ refs/heads/dist-snap: 218093d912b3725251e7a97d44f03321ba856ce6
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
13
13
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change 406
406
407
407
if [ ! -z " $CFG_PANDOC " ]
408
408
then
409
- PANDOC_VER_LINE=$( pandoc --version | grep ' ^pandoc ' )
410
- PANDOC_VER=${PANDOC_VER_LINE# pandoc }
411
- PV_MAJOR_MINOR=${PANDOC_VER% .[0-9]* }
412
- PV_MAJOR=${PV_MAJOR_MINOR%% [.][0-9]* }
413
- PV_MINOR=${PV_MAJOR_MINOR# [0-9]* [.]}
414
- PV_MINOR=${PV_MINOR%% [.][0-9]* }
409
+ PV_MAJOR_MINOR=$( pandoc --version | grep ' ^pandoc ' |
410
+ # extract the first 2 version fields, ignore everything else
411
+ sed ' s/pandoc \([0-9]*\)\.\([0-9]*\).*/\1 \2/' )
412
+
413
+ # these patterns are shell globs, *not* regexps
414
+ PV_MAJOR=${PV_MAJOR_MINOR% * }
415
+ PV_MINOR=${PV_MAJOR_MINOR#* }
415
416
if [ " $PV_MAJOR " -lt " 1" ] || [ " $PV_MINOR " -lt " 8" ]
416
417
then
417
418
step_msg " pandoc $PV_MAJOR .$PV_MINOR is too old. disabling"
Original file line number Diff line number Diff line change 18
18
<list name =" keywords" >
19
19
<item > as </item >
20
20
<item > break </item >
21
+ <item > const </item >
21
22
<item > copy </item >
22
23
<item > do </item >
23
24
<item > drop </item >
28
29
<item > if </item >
29
30
<item > impl </item >
30
31
<item > let </item >
32
+ <item > log </item >
31
33
<item > loop </item >
32
34
<item > match </item >
33
35
<item > mod </item >
34
36
<item > mut </item >
35
37
<item > priv </item >
36
38
<item > pub </item >
39
+ <item > pure </item >
37
40
<item > ref </item >
38
41
<item > return </item >
39
42
<item > static </item >
40
43
<item > struct </item >
41
- <item > super </item >
42
44
<item > trait </item >
43
45
<item > unsafe </item >
44
46
<item > use </item >
You can’t perform that action at this time.
0 commit comments