Navigation Menu

Skip to content

Commit

Permalink
v.3.0.0 (typo change)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos M committed Mar 24, 2016
1 parent cfe8aa7 commit cf76a62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/ace_grammar.js
Expand Up @@ -1245,7 +1245,7 @@ function generate_autocompletion( token, follows )
{
follows.push.apply( follows, tok.autocompletions );
}
else if ( (T_STR === tok.token.ptype) && (tok.token.pattern.length > 1) )
else if ( (T_STR === tok.token.ptype) && (T_STR&get_type(tok.token.pattern)) && (tok.token.pattern.length > 1) )
{
follows.push( {word:''+tok.token.pattern, meta:tok.name, ci:!!tok.ci} );
}
Expand Down

0 comments on commit cf76a62

Please sign in to comment.