Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix #2618, don't tab-complete keywords in modules

  • Loading branch information...
commit d4abf15dec8013dd866d343b9717bcc2954971ee 1 parent 31e4451
@JeffBezanson JeffBezanson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/repl-readline.c
View
4 ui/repl-readline.c
@@ -446,8 +446,8 @@ static void symtab_search(jl_sym_t *tree, int *pcount, ios_t *result,
{
do {
if (common_prefix(prefix, tree->name) == plen &&
- ((module ? jl_defines_or_exports_p(module, tree) : jl_boundp(jl_current_module, tree)) ||
- is_keyword(tree->name))) {
+ (module ? jl_defines_or_exports_p(module, tree) : (jl_boundp(jl_current_module, tree) ||
+ is_keyword(tree->name)))) {
ios_puts(str, result);
ios_puts(tree->name + plen, result);
ios_putc('\n', result);
Please sign in to comment.
Something went wrong with that request. Please try again.