Add '.' and ':' to the set of allowable operator symbols.

This fixes part of #368.
This commit is contained in:
Brian Huffman 2016-09-19 11:50:30 -07:00
parent 7a4cbc8e03
commit 6247faa2c8

View File

@ -39,7 +39,7 @@ $unitick = \x7
@id_next = [a-zA-Z0-9_'] | $unilower | $uniupper | $unidigit | $unitick
@id = @id_first @id_next*
@op = ([\!\@\#\$\%\^\&\*\~\>\<\?\+\=\|\/\\\-] | $unisymbol)+
@op = ([\!\#\$\%\&\*\+\-\.\/\:\<\=\>\?\@\\\^\|\~] | $unisymbol)+
@qual = (@id $white* :: $white*)+
@qual_id = @qual @id