"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/EST_Token.h" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

EST_Token.h  (speech_tools-2.4-release):EST_Token.h  (speech_tools-2.5.0-release)
skipping to change at line 121 skipping to change at line 121
const EST_String &whitespace() { return space; } const EST_String &whitespace() { return space; }
/// ///
const EST_String &punctuation() { return punc; } const EST_String &punctuation() { return punc; }
/// ///
const EST_String &prepunctuation() { return prepunc; } const EST_String &prepunctuation() { return prepunc; }
/**@name Access token as a string */ /**@name Access token as a string */
//@{ //@{
const EST_String &string() const { return String(); } const EST_String &string() const { return String(); }
/// Access token as a string /// Access token as a string
const EST_String &S() const { return S(); } const EST_String &S() const { return String(); }
/// Access token as a string /// Access token as a string
const EST_String &String() const { return pname; } const EST_String &String() const { return pname; }
/// For automatic coercion to \Ref{EST_String} /// For automatic coercion to \Ref{EST_String}
operator EST_String() const { return String(); } operator EST_String() const { return String(); }
//@} //@}
/**@name Access token as a int */ /**@name Access token as a int */
//@{ //@{
int Int(bool &valid) const { return String().Int(valid); } int Int(bool &valid) const { return String().Int(valid); }
int Int() const { return String().Int(); } int Int() const { return String().Int(); }
skipping to change at line 328 skipping to change at line 328
EST_Token &must_get(EST_String expected, bool &ok) EST_Token &must_get(EST_String expected, bool &ok)
{ return must_get(expected, &ok); } { return must_get(expected, &ok); }
EST_Token &must_get(EST_String expected) EST_Token &must_get(EST_String expected)
{ return must_get(expected, (bool *)NULL); } { return must_get(expected, (bool *)NULL); }
//@} //@}
/// get up to {\tt s} in stream as a single token. /// get up to {\tt s} in stream as a single token.
EST_Token get_upto(const EST_String &s); EST_Token get_upto(const EST_String &s);
/// get up to {\tt s} in end of line as a single token. /// get up to {\tt s} in end of line as a single token.
EST_Token get_upto_eoln(void); EST_Token get_upto_eoln(void);
/// peek at next token /// peek at next token
EST_Token &peek(void) EST_Token &peek(void);
{ if (!peeked_tokp) get();
peeked_tokp = TRUE; return current_tok; }
/// Reading binary data, (don't use peek() immediately beforehand) /// Reading binary data, (don't use peek() immediately beforehand)
int fread(void *buff,int size,int nitems); int fread(void *buff,int size,int nitems);
//@} //@}
/**@name stream initialization functions */ /**@name stream initialization functions */
//@{ //@{
/// set which characters are to be treated as whitespace /// set which characters are to be treated as whitespace
void set_WhiteSpaceChars(const EST_String &ws) void set_WhiteSpaceChars(const EST_String &ws)
{ WhiteSpaceChars = ws; p_table_wrong=1;} { WhiteSpaceChars = ws; p_table_wrong=1;}
/// set which characters are to be treated as single character symbols /// set which characters are to be treated as single character symbols
void set_SingleCharSymbols(const EST_String &sc) void set_SingleCharSymbols(const EST_String &sc)
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)