repl: don't interpret floating point numbers
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 10 Nov 2012 17:21:13 +0000 (18:21 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 10 Nov 2012 17:21:17 +0000 (18:21 +0100)
commitb6e989759bfcfdc00d9d4b5a3b32d31ea29838c0
treeaa120795f3bb257e5310a4e6b83681afcec43ee4
parent13c5db977190f926a213fc8ad7204e1febe36009
repl: don't interpret floating point numbers

Don't interpret floating point numbers, e.g. ".1234", as REPL commands.

Fixes #4268.
lib/repl.js
test/simple/test-repl.js