Skip parameter names in procedure type expressions
This commit is contained in:
130
boot/semantic.cc
130
boot/semantic.cc
@ -17,9 +17,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
|
||||
#include "elna/boot/semantic.h"
|
||||
|
||||
namespace elna
|
||||
{
|
||||
namespace boot
|
||||
namespace elna::boot
|
||||
{
|
||||
undeclared_error::undeclared_error(const std::string& identifier, const char *path, const struct position position)
|
||||
: error(path, position), identifier(identifier)
|
||||
@ -121,5 +119,129 @@ namespace boot
|
||||
void declaration_visitor::visit(procedure_type_expression *)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(variable_declaration *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(constant_definition *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(procedure_definition *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(assign_statement *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(if_statement *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(while_statement *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(return_statement *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(defer_statement *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(procedure_call *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(block *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(traits_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(cast_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(binary_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(unary_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(variable_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(array_access_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(field_access_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(dereference_expression *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<std::int32_t> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<std::uint32_t> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<double> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<bool> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<unsigned char> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<std::nullptr_t> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
||||
void declaration_visitor::visit(literal<std::string> *)
|
||||
{
|
||||
__builtin_unreachable();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user