~ubuntu-branches/ubuntu/karmic/piklab/karmic

« back to all changes in this revision

Viewing changes to src/coff/base/cdb_parser.h

  • Committer: Bazaar Package Importer
  • Author(s): Miriam Ruiz
  • Date: 2008-01-25 22:26:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080125222625-p27qjurf8xiu5t8p
Tags: 0.15.2-1
* New Upstream Release.
* Bumped standards version from 3.7.2 to 3.7.3. No changes needed.
* Added Homepage label to debian/control.
* Added manpage for piklab-coff.
* Added -Wl,--as-needed to LDFLAGS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
BEGIN_DECLARE_ENUM(ScopeType)
32
32
  Global = 0, File, Local, Structure
33
 
END_DECLARE_ENUM(ScopeType, EnumData)
 
33
END_DECLARE_ENUM_STD(ScopeType)
34
34
 
35
35
class Scope
36
36
{
44
44
  Array = 0, Function, GenericPointer, CodePointer, ExternalRamPointer,
45
45
  InternalRamPointer, PagedPointer, Upper128bytesPointer, Long, Int, Char,
46
46
  Short, Void, Float, Structure, Sbit, BitField
47
 
END_DECLARE_ENUM(VarType, EnumData)
 
47
END_DECLARE_ENUM_STD(VarType)
48
48
 
49
49
class DCLType
50
50
{
56
56
 
57
57
BEGIN_DECLARE_ENUM(Sign)
58
58
  Signed = 0, Unsigned
59
 
END_DECLARE_ENUM(Sign, EnumData)
 
59
END_DECLARE_ENUM_STD(Sign)
60
60
 
61
61
class TypeChain
62
62
{
69
69
  ExternalStack = 0, InternalStack, Code, CodeStaticSegment,
70
70
  Lower128bytesInternalRam, ExternalRam, InternalRam, BitAddressable,
71
71
  SFR, SBIT, Register, FunctionOrUndefined
72
 
END_DECLARE_ENUM(AddressSpaceType, EnumData)
 
72
END_DECLARE_ENUM_STD(AddressSpaceType)
73
73
 
74
74
class AddressSpace {
75
75
public:
135
135
  uint _line, _col;
136
136
  QValueVector<Record *> _records;
137
137
 
138
 
  void log(Log::Type type, const QString &message);
 
138
  void log(Log::LineType type, const QString &message);
139
139
  void logMalformed(const QString &detail);
140
140
  bool readBool(bool &b);
141
141
  bool getUInt(const QString &s, uint &r);