summaryrefslogtreecommitdiff
path: root/identifier.cc
blob: 9eab42e114e57aef4e0901e5c13f4260955f7378 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <assert.h>
#include "keyword.hh"
#include "lexer.hh"
#include "parser.hh"

Identifier::Identifier()
{
    data = 0;
    type = IDENTIFIER;
}


Identifier::~Identifier()
{
    if (!data)
	return;
    switch (type) {
    case IDENTIFIER:
    default:
	assert(false);
    }
}