Skip to content

Commit

Permalink
A fix for quoted tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 4, 2001
1 parent 9933220 commit e50de02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion last/toby/util/SaneTokenizer.java
Expand Up @@ -190,7 +190,8 @@ public int nextToken() throws IOException
{
if (quotedAreWords)
ttype = TT_WORD;
sval = qChar + sval + qChar;
String qStr = new Character((char) qChar).toString();
sval = qStr + sval + qStr;
} // if

else if (charsAreWords)
Expand Down

0 comments on commit e50de02

Please sign in to comment.