Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/qdoc3/tokenizer.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    4747#define TOKENIZER_H
    4848
     49#include <qfile.h>
    4950#include <qstack.h>
    5051#include <qstring.h>
    51 
    52 #include <stdio.h>
    5352
    5453#include "location.h"
     
    7776       Tok_typename, Tok_union, Tok_unsigned, Tok_using, Tok_virtual,
    7877       Tok_void, Tok_volatile, Tok_int64, Tok_Q_OBJECT, Tok_Q_OVERRIDE,
    79        Tok_Q_PROPERTY, Tok_Q_DECLARE_SEQUENTIAL_ITERATOR,
     78       Tok_Q_PROPERTY, Tok_Q_PRIVATE_PROPERTY, Tok_Q_DECLARE_SEQUENTIAL_ITERATOR,
    8079       Tok_Q_DECLARE_MUTABLE_SEQUENTIAL_ITERATOR,
    8180       Tok_Q_DECLARE_ASSOCIATIVE_ITERATOR,
     
    10099 public:
    101100    Tokenizer(const Location& loc, const QByteArray &in);
    102     Tokenizer(const Location& loc, FILE *in);
     101    Tokenizer(const Location& loc, QFile &file);
    103102
    104103    ~Tokenizer();
     
    109108
    110109    const Location &location() const { return yyTokLoc; }
    111     QString previousLexeme() const { return QString(yyPrevLex); }
    112     QString lexeme() const { return QString(yyLex); }
     110    QString previousLexeme() const;
     111    QString lexeme() const;
    113112    QString version() const { return yyVersion; }
    114113    int braceDepth() const { return yyBraceDepth; }
     
    147146        if (ch == EOF)
    148147            return EOF;
    149         // cast explicitely to make sure the value of ch
     148        // cast explicitly to make sure the value of ch
    150149        // is in range [0..255] to avoid assert messages
    151150        // when using debug CRT that checks its input.
Note: See TracChangeset for help on using the changeset viewer.