Skip to content

Commit

Permalink
last fix parentheses matching
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Apr 3, 2024
1 parent c41ae78 commit bb06e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lips.js
Expand Up @@ -563,7 +563,7 @@ function run_repl(err, rl) {
if (token) {
code = mark_paren(code, token);
} else if (cmd) {
const input = cmd + rl.line;
const input = cmd + substring;
// we match paren above the current line
// but we need whole code with rl.line
// so we need to ignore rl.line
Expand Down

0 comments on commit bb06e5e

Please sign in to comment.