☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
concrete
/
unrestricted
/
semantic
/
semantic2.cc
☽
☼
yo/concrete/unrestricted/semantic/semantic2.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
1
#include "semantic.ih"
2
3
Semantic::Semantic(Semantic const &other)
4
:
5
d_int(other.d_int) // blunt copy of d_int
6
{
7
if (d_int.first == IDENTIFIER) // if a string: copy it
8
new (&d_str.second) string{ other.d_str.second };
9
}