Implement case statements
This commit is contained in:
@ -275,7 +275,7 @@ namespace elna::boot
|
||||
}
|
||||
|
||||
constant_definition::constant_definition(const struct position position, const std::string& identifier,
|
||||
const bool exported, literal_expression *body)
|
||||
const bool exported, expression *body)
|
||||
: definition(position, identifier, exported), m_body(body)
|
||||
{
|
||||
}
|
||||
@ -285,7 +285,7 @@ namespace elna::boot
|
||||
visitor->visit(this);
|
||||
}
|
||||
|
||||
literal_expression& constant_definition::body()
|
||||
expression& constant_definition::body()
|
||||
{
|
||||
return *m_body;
|
||||
}
|
||||
|
Reference in New Issue
Block a user