Skip to content

Commit

Permalink
Add support for the assignment operator :=
Browse files Browse the repository at this point in the history
  • Loading branch information
samcv committed Dec 31, 2016
1 parent 46eb40c commit 70114f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grammars/perl6fe.cson
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,9 @@
{ 'include': 'source.quoting.perl6fe#q_bracket_string_content' }
]
}
# Equals sign `=`, Assignment operator `:=` etc.
{
'match': '([+\\-.*/]|\\|\\|)?(?<!\\=)=(?![\\>\\=\\~])'
'match': '(?x) ( [+:\\-.*/] | \\|\\| )? (?<! = ) = (?! [>=~] )'
'name': 'storage.modifier.assignment.perl6fe'
}
# Non multi-line.
Expand Down

0 comments on commit 70114f8

Please sign in to comment.