Typos
This commit is contained in:
1 parent
0a0b20a156
commit
9bd68ecf23
25 files changed
+67
-130
No files matched your search
@@ -1,10 +1,8 @@
|
||||
#ifndef DOMAIN_ADDRESSSPACE_H
|
||||
#define DOMAIN_ADDRESSSPACE_H
|
||||
#ifndef DOMAIN_ADDRESS_SPACE_H
|
||||
#define DOMAIN_ADDRESS_SPACE_H
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
|
||||
namespace domain {
|
||||
|
||||
class AddressSpace
|
||||
@@ -23,4 +21,4 @@ public:
|
||||
|
||||
} // namespace domain
|
||||
|
||||
#endif // DOMAIN_ADDRESSSPACE_H
|
||||
#endif // DOMAIN_ADDRESS_SPACE_H
|
||||
@@ -432,7 +432,7 @@ std::optional<Display> ComdelGenerator::loadDisplay(DisplayNode node)
|
||||
h = getIntProperty(item, "h");
|
||||
displayItem.pin = ui::Pin(x, y, w, h);
|
||||
} else {
|
||||
errors.push_back(SourceError{item.type.span, "unsuported display type"});
|
||||
errors.push_back(SourceError{item.type.span, "unsupported display type"});
|
||||
}
|
||||
items.push_back(displayItem);
|
||||
}
|
||||
@@ -537,7 +537,7 @@ std::optional<Popup> ComdelGenerator::loadPopup(PopupNode node, std::string name
|
||||
}
|
||||
} else {
|
||||
if(type == Value::WIRE_REFERENCE && !current().inConnection) {
|
||||
errors.push_back(SourceError{node.span, "@enumeration is required for atributes of type wire"});
|
||||
errors.push_back(SourceError{node.span, "@enumeration is required for attributes of type wire"});
|
||||
}
|
||||
|
||||
}
|
||||
@@ -594,7 +594,7 @@ std::optional<Condition> ComdelGenerator::loadCondition(ConditionNode node)
|
||||
}
|
||||
return Condition(function, params, node.negated);
|
||||
} else {
|
||||
errors.push_back(SourceError{node.functionName.span, "wrong number of parametars"});
|
||||
errors.push_back(SourceError{node.functionName.span, "wrong number of parameters"});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef DOMAIN_COMDELGENERATOR_H
|
||||
#define DOMAIN_COMDELGENERATOR_H
|
||||
#ifndef DOMAIN_COMDEL_GENERATOR_H
|
||||
#define DOMAIN_COMDEL_GENERATOR_H
|
||||
|
||||
#include "library.h"
|
||||
#include "schema.h"
|
||||
@@ -143,4 +143,4 @@ public:
|
||||
|
||||
} // namespace domain
|
||||
|
||||
#endif // DOMAIN_COMDELGENERATOR_H
|
||||
#endif // DOMAIN_COMDEL_GENERATOR_H
|
||||
@@ -11,7 +11,7 @@ BusConnectionInstance::BusConnectionInstance(ComponentInstance *instance, std::v
|
||||
: ConnectionInstance(instance, attributes, wire, connection), bus(bus)
|
||||
{}
|
||||
|
||||
DirectConnectionInstance::DirectConnectionInstance(ComponentInstance *instance, ComponentInstance *secondsInstance, std::vector<InstanceAttribute*> attributes, BusInstance *bus, WireInstance *wire, Connection connection)
|
||||
DirectConnectionInstance::DirectConnectionInstance(ComponentInstance *instance, ComponentInstance *secondInstance, std::vector<InstanceAttribute*> attributes, BusInstance *bus, WireInstance *wire, Connection connection)
|
||||
: ConnectionInstance(instance, attributes, wire, connection), secondInstance(secondInstance), bus(bus)
|
||||
{}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef DOMAIN_CONNECTIONINSTANCE_H
|
||||
#define DOMAIN_CONNECTIONINSTANCE_H
|
||||
#ifndef DOMAIN_CONNECTION_INSTANCE_H
|
||||
#define DOMAIN_CONNECTION_INSTANCE_H
|
||||
|
||||
#include "connection.h"
|
||||
#include "instance.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef DOMAIN_FUNCTIONSIGNATURE_H
|
||||
#define DOMAIN_FUNCTIONSIGNATURE_H
|
||||
#ifndef DOMAIN_FUNCTION_SIGNATURE_H
|
||||
#define DOMAIN_FUNCTION_SIGNATURE_H
|
||||
|
||||
#include<functional>
|
||||
#include "value.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef DOMAIN_INSTANCEATTRIBUTE_H
|
||||
#define DOMAIN_INSTANCEATTRIBUTE_H
|
||||
#ifndef DOMAIN_INSTANCE_ATTRIBUTE_H
|
||||
#define DOMAIN_INSTANCE_ATTRIBUTE_H
|
||||
|
||||
#include "attribute.h"
|
||||
#include "value.h"
|
||||
@@ -23,4 +23,4 @@ public:
|
||||
|
||||
} // namespace domain
|
||||
|
||||
#endif // DOMAIN_INSTANCEATTRIBUTE_H
|
||||
#endif // DOMAIN_INSTANCE_ATTRIBUTE_H
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef DOMAIN_WIREINSTANCE_H
|
||||
#define DOMAIN_WIREINSTANCE_H
|
||||
#ifndef DOMAIN_WIRE_INSTANCE_H
|
||||
#define DOMAIN_WIRE_INSTANCE_H
|
||||
|
||||
#include "display.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user