Skip to content

Commit

Permalink
remove leading quote from text of string literals
Browse files Browse the repository at this point in the history
--HG--
branch : com.mozilla.es4.smlnj
extra : convert_revision : 1ee75535c0532ac6659b01d8395dcdcc92448f87
  • Loading branch information
jeffdyer committed Aug 9, 2007
1 parent e714dd6 commit ba3c808
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/self/lexer.es
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@ namespace Token

function tokenText () : String
{
if (kind===StringLiteral) {
return this.utf8id.slice(1,this.utf8id.length);
}
return this.utf8id;
}

Expand Down

0 comments on commit ba3c808

Please sign in to comment.