aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-16 13:12:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-16 13:12:09 -0700
commitc3dfcb7c7c923557e352c17dafe7b9c44ecdc925 (patch)
tree0d9794b333dcac0135eb8fd29e8a91cc3f463baf /src
parent408f03fae71cbb72097278cca05535f631786967 (diff)
commented assertion for tokenize
Diffstat (limited to 'src')
-rw-r--r--src/intertyper.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index 6a81d0d1..d6b1f911 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -30,6 +30,7 @@ function tokenize(text, lineNum, indent) {
if (text.length == 0) return;
// merge certain tokens
if (lastToken && /^\**$/.test(text)) {
+ //assert(!(lastToken.text in tokenCache));
lastToken.text += text;
return;
}