Skip to content

Commit

Permalink
fixed bnf
Browse files Browse the repository at this point in the history
  • Loading branch information
Zverik committed Apr 2, 2014
1 parent 32266a1 commit 6630836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bbcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ To reduce clutter, we'll define some base nonterminals with regular expressions.
<coordinate> ::= <number> "," <number>
<coordinates> ::= <coordinate> | <coordinate> " " <coordinate>
<title> ::= <empty> | <noslash>
<words> ::= <empty> | <word> | <word> "," <word>
<words> ::= <empty> | <word> | <word> "," <words>
<parameters> ::= "(" <words> "|" <title> ")" | "(" <title> ")"
<element> ::= <coordinates> | <coordinates> <parameters>
<elements> ::= <empty> | <element> | <element> ";" <element>
<elements> ::= <empty> | <element> | <element> ";" <elements>
<position> ::= <zoom> | <zoom> "," <coordinate>
<openingtag> ::= "[map]" | "[map=" <position> "]"
<map> ::= <openingtag> <elements> "[/map]"
Expand Down
4 changes: 2 additions & 2 deletions ru/bbcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ HTML или BBCode.
<coordinate> ::= <number> "," <number>
<coordinates> ::= <coordinate> | <coordinate> " " <coordinate>
<title> ::= <empty> | <noslash>
<words> ::= <empty> | <word> | <word> "," <word>
<words> ::= <empty> | <word> | <word> "," <words>
<parameters> ::= "(" <words> "|" <title> ")" | "(" <title> ")"
<element> ::= <coordinates> | <coordinates> <parameters>
<elements> ::= <empty> | <element> | <element> ";" <element>
<elements> ::= <empty> | <element> | <element> ";" <elements>
<position> ::= <zoom> | <zoom> "," <coordinate>
<openingtag> ::= "[map]" | "[map=" <position> "]"
<map> ::= <openingtag> <elements> "[/map]"
Expand Down

0 comments on commit 6630836

Please sign in to comment.