Skip to content

Commit

Permalink
Simplyfying Erlang record access definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
isagalaev committed Nov 20, 2013
1 parent 6e6e1a0 commit d462d28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/languages/erlang.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ function(hljs) {
relevance: 0
};
var RECORD_ACCESS = {
begin: '#', end: '}',
illegal: '.',
begin: '#' + hljs.UNDERSCORE_IDENT_RE,
relevance: 0,
returnBegin: true,
contains: [
Expand All @@ -73,7 +72,7 @@ function(hljs) {
relevance: 0
},
{
begin: '{', endsWithParent: true,
begin: '{', end: '}',
relevance: 0
// "contains" defined later
}
Expand Down

0 comments on commit d462d28

Please sign in to comment.