/[mpak]/mpak/include/mpak/spec/lexer.hh
ViewVC logotype

Diff of /mpak/include/mpak/spec/lexer.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pbgavin, Fri Aug 1 01:34:27 2003 UTC revision 1.3 by pbgavin, Wed Aug 20 14:08:02 2003 UTC
# Line 147  namespace mpak Line 147  namespace mpak
147              }              }
148                    
149              inline void              inline void
150              putback_char (char_type c)              putback_char (int_type c)
151                  ECSTACY_THROW_SPEC (())                  ECSTACY_THROW_SPEC (())
152              {              {
153                  const ctype_type &ct = std::use_facet<ctype_type> (this->buf_->getloc ());                  const ctype_type &ct = std::use_facet<ctype_type> (this->buf_->getloc ());
154                  this->buf_->sputbackc (c);                  if (traits_type::not_eof (c))
155                        this->buf_->sputbackc (c);
156                  if (traits_type::eq (c, ct.widen ('\n'))) {                  if (traits_type::eq (c, ct.widen ('\n'))) {
157                      --this->line_;                      --this->line_;
158                      this->column_ = static_cast<ecstacy::size_type> (-1);                      this->column_ = static_cast<ecstacy::size_type> (-1);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26