osm nope. Just coords please.
This commit is contained in:
parent
51d0474d95
commit
bac29812ec
@ -165,12 +165,14 @@ scan:
|
|||||||
<source> @s0 keyword @s1 => expect_line
|
<source> @s0 keyword @s1 => expect_line
|
||||||
{ x->s0 = s0, x->s1 = s1; return x->symbol = SOURCE_RECALL, 1; }
|
{ x->s0 = s0, x->s1 = s1; return x->symbol = SOURCE_RECALL, 1; }
|
||||||
|
|
||||||
<location> "" / "![" :=> map
|
<location> "" / "(" :=> map
|
||||||
<location> @s0 keyword @s1 => expect_line
|
<location> @s0 keyword @s1 => expect_line
|
||||||
{ x->s0 = s0, x->s1 = s1; return x->symbol = LOCATION_RECALL, 1; }
|
{ x->s0 = s0, x->s1 = s1; return x->symbol = LOCATION_RECALL, 1; }
|
||||||
|
|
||||||
<map> "![" ws* "osm" ws* "](geo:" @s0 decimal "," @s1 decimal ")" ws*
|
// This was getting a bit tiresome. Sorry compatibility with Diary.
|
||||||
=> expect_caption
|
// I like the dd*mm'ss.ss"N way better, but it is a pain to type.
|
||||||
|
//<map> "![" ws* "osm" ws* "](geo:" @s0 decimal "," @s1 decimal ")" ws*
|
||||||
|
<map> "(" @s0 decimal "," @s1 decimal ")" => expect_caption
|
||||||
{ x->s0 = s0, x->s1 = s1; return x->symbol = LOCATION, 1; }
|
{ x->s0 = s0, x->s1 = s1; return x->symbol = LOCATION, 1; }
|
||||||
|
|
||||||
<edict> "source"
|
<edict> "source"
|
||||||
|
Loading…
Reference in New Issue
Block a user