~ubuntu-branches/ubuntu/oneiric/kdesdk/oneiric-updates

« back to all changes in this revision

Viewing changes to poxml/antlr/antlr/LLkParser.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers, Modestas Vainius, George Kiagiadakis, José Manuel Santamaría Lema, Pino Toscano
  • Date: 2011-04-27 12:23:44 UTC
  • mfrom: (1.1.58 upstream) (0.5.7 squeeze)
  • mto: (0.5.8 sid)
  • mto: This revision was merged to the branch mainline in revision 120.
  • Revision ID: james.westby@ubuntu.com-20110427122344-t9d1jf4lfnrl6hyv
Tags: 4:4.6.2-1
* New upstream release:
  - fixes plugin loading in kate sessions (Closes: #525853)
  - updates kate man page with respect to instance creation defaults
    (Closes: #598443)
  - fixes cursor position with static word-wrap in Kate (Closes: #570409)
  - xml2pot creates .pot files with the correct mimetype (Closes: #326060)
* Update installed files.
* Update lintian overrides.

[ Modestas Vainius ]
* Point debian/control Vcs fields to the new Git repository.
* Strip sequence numbers from debian/patches.
* Strip trailing whitespace in debian/copyright.
* Add kdeutils-dbg (<< 4:4.6) to kdesdk-dbg Breaks/Replaces (due to moved
  okteta).
* Add ${perl:Depends} to Depends of cervisia and kdesdk-kio-plugins.

[ George Kiagiadakis ]
* Add myself to uploaders.
* Refresh patch 02_append_kde.diff.
* Drop patch 03_kmtrace_compile.diff; fixed upstream in a better way.
* Add libkonq5-dev, libantlr-dev and antlr to build depends.
  (Closes: #505425)
* Bump kdepimlibs5-dev build dependency to version 4:4.6.
* Add new package: kdesdk-dolphin-plugins.

[ José Manuel Santamaría Lema ]
* Remove package kbugbuster.
* Enable DebianABIManager:
  - include DebianABIManager.cmake at the bottom of the main CMakeLists.txt
    (patch enable_debianabimanager.diff).
  - debian/control: managing all non-local unstable-BC libraries.
* Add packages for okteta:
  - okteta
  - okteta-dev
  - libkastencontrollers4
  - libkastencore4
  - libkastengui4
  - liboktetacore4
  - liboktetagui4
  - liboktetakastencontrollers4
  - liboktetakastencore4
  - liboktetakastengui4
* Add symbols files for new library packages.
* Bump kde-sc-dev-latest build dependency to 4:4.6.2.
* Bump pkg-kde-tools build dependency to 0.12.
* Switch debian/rules engine to dhmk based qt-kde-team/2/*
  - and remove cdbs from Build-Depends.
* Bump S-V to 3.9.1; update Replaces/Breaks/Conflicts.
* Add myself to Uploaders.

[ Pino Toscano ]
* Add build dependency on libqca2-dev.
* Do not ship kdesrc-build with kdesdk-scripts, it is packaged separately.
* Small updates to descriptions.
* Clean up Replaces/Breaks from the pre-squeeze era whenever possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef INC_LLkParser_hpp__
2
 
#define INC_LLkParser_hpp__
3
 
 
4
 
/**
5
 
 * <b>SOFTWARE RIGHTS</b>
6
 
 * <p>
7
 
 * ANTLR 2.6.0 MageLang Insitute, 1999
8
 
 * <p>
9
 
 * We reserve no legal rights to the ANTLR--it is fully in the
10
 
 * public domain. An individual or company may do whatever
11
 
 * they wish with source code distributed with ANTLR or the
12
 
 * code generated by ANTLR, including the incorporation of
13
 
 * ANTLR, or its output, into commerical software.
14
 
 * <p>
15
 
 * We encourage users to develop software with ANTLR. However,
16
 
 * we do ask that credit is given to us for developing
17
 
 * ANTLR. By "credit", we mean that if you use ANTLR or
18
 
 * incorporate any source code into one of your programs
19
 
 * (commercial product, research project, or otherwise) that
20
 
 * you acknowledge this fact somewhere in the documentation,
21
 
 * research report, etc... If you like ANTLR and have
22
 
 * developed a nice tool with the output, please mention that
23
 
 * you developed it using ANTLR. In addition, we ask that the
24
 
 * headers remain intact in our source code. As long as these
25
 
 * guidelines are kept, we expect to continue enhancing this
26
 
 * system and expect to make other tools available as they are
27
 
 * completed.
28
 
 * <p>
29
 
 * The ANTLR gang:
30
 
 * @version ANTLR 2.6.0 MageLang Insitute, 1999
31
 
 * @author Terence Parr, <a href=http://www.MageLang.com>MageLang Institute</a>
32
 
 * @author <br>John Lilley, <a href=http://www.Empathy.com>Empathy Software</a>
33
 
 * @author <br><a href="mailto:pete@yamuna.demon.co.uk">Pete Wells</a>
34
 
 */
35
 
 
36
 
#include "antlr/antlr_export.h"
37
 
#include "antlr/config.hpp"
38
 
#include "antlr/Parser.hpp"
39
 
 
40
 
ANTLR_BEGIN_NAMESPACE(antlr)
41
 
 
42
 
/**An LL(k) parser.
43
 
 *
44
 
 * @see antlr.Token
45
 
 * @see antlr.TokenBuffer
46
 
 * @see antlr.LL1Parser
47
 
 */
48
 
class ANTLR_EXPORT LLkParser : public Parser {
49
 
protected:
50
 
        int k;
51
 
 
52
 
public:
53
 
//      LLkParser(int k_);
54
 
 
55
 
        LLkParser(const ParserSharedInputState& lexer, int k_);
56
 
 
57
 
        LLkParser(TokenBuffer& tokenBuf, int k_);
58
 
 
59
 
        LLkParser(TokenStream& lexer, int k_);
60
 
 
61
 
        /**Consume another token from the input stream.  Can only write sequentially!
62
 
         * If you need 3 tokens ahead, you must consume() 3 times.
63
 
         * <p>
64
 
         * Note that it is possible to overwrite tokens that have not been matched.
65
 
         * For example, calling consume() 3 times when k=2, means that the first token
66
 
         * consumed will be overwritten with the 3rd.
67
 
         */
68
 
        void consume();
69
 
 
70
 
        int LA(int i);
71
 
 
72
 
        RefToken LT(int i);
73
 
 
74
 
private:
75
 
        void trace(const ANTLR_USE_NAMESPACE(std)string& ee, const ANTLR_USE_NAMESPACE(std)string& rname);
76
 
public:
77
 
        void traceIn(const ANTLR_USE_NAMESPACE(std)string& rname);
78
 
        void traceOut(const ANTLR_USE_NAMESPACE(std)string& rname);
79
 
};
80
 
 
81
 
ANTLR_END_NAMESPACE
82
 
 
83
 
#endif //INC_LLkParser_hpp__