You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/06/14 21:14:58 UTC
cvs commit: xml-xalan/c/src/XSLT AVT.cpp
dbertoni 01/06/14 12:14:58
Modified: c/src/XSLT AVT.cpp
Log:
Use new StringTokenizer overload.
Revision Changes Path
1.12 +7 -6 xml-xalan/c/src/XSLT/AVT.cpp
Index: AVT.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/AVT.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- AVT.cpp 2001/06/06 21:55:14 1.11
+++ AVT.cpp 2001/06/14 19:14:54 1.12
@@ -155,7 +155,7 @@
}
else
{
- t = tokenizer.nextToken();
+ tokenizer.nextToken(t);
}
if(length(t) == 1)
@@ -167,7 +167,8 @@
case(XalanUnicode::charLeftCurlyBracket):
{
// Attribute Value Template start
- lookahead = tokenizer.nextToken();
+ tokenizer.nextToken(lookahead);
+
if(equals(lookahead, theLeftCurlyBracketString))
{
// Double curlys mean escape to show curly
@@ -203,13 +204,13 @@
const XalanDOMString quote = lookahead;
// Consume stuff 'till next quote
- lookahead = tokenizer.nextToken();
+ tokenizer.nextToken(lookahead);
while(!equals(lookahead, quote))
{
append(exprBuffer, lookahead);
- lookahead = tokenizer.nextToken();
+ tokenizer.nextToken(lookahead);
}
append(exprBuffer,lookahead);
@@ -236,7 +237,7 @@
append(exprBuffer,lookahead);
}
- lookahead = tokenizer.nextToken();
+ tokenizer.nextToken(lookahead);
} // end while(!equals(lookahead, "}"))
assert(equals(lookahead, theRightCurlyBracketString));
@@ -260,7 +261,7 @@
}
case(XalanUnicode::charRightCurlyBracket):
{
- lookahead = tokenizer.nextToken();
+ tokenizer.nextToken(lookahead);
if(equals(lookahead, theRightCurlyBracketString))
{
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org