repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
flower-1.0.3
[lilypond.git]
/
identifier.cc
blob
9eab42e114e57aef4e0901e5c13f4260955f7378
1
#include <assert.h>
2
#include
"keyword.hh"
3
#include
"lexer.hh"
4
#include
"parser.hh"
5
6
Identifier
::
Identifier
()
7
{
8
data
=
0
;
9
type
=
IDENTIFIER
;
10
}
11
12
13
Identifier
::~
Identifier
()
14
{
15
if
(!
data
)
16
return
;
17
switch
(
type
) {
18
case
IDENTIFIER
:
19
default
:
20
assert
(
false
);
21
}
22
}