Skip to content

Commit

Permalink
plan
Browse files Browse the repository at this point in the history
  • Loading branch information
teverett committed Jul 31, 2016
1 parent dcad4b6 commit 87663b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion telephone/telephone.g4
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
grammar telephone;

number
: countrycode? nanp
: countrycode? plan
;

countrycode
: '+' DIGIT DIGIT DIGIT
;

plan
: nanp
;

// North American Numbering Plan
nanp
: npa exchange subscriber
Expand Down

0 comments on commit 87663b9

Please sign in to comment.