Commit c2ed4994 authored by dbarbera's avatar dbarbera
Browse files

Use type prefix in generated code

parent 7b0b1d0c
...@@ -15,7 +15,7 @@ test-ada: ...@@ -15,7 +15,7 @@ test-ada:
test-llvm: test-llvm:
../../../opengeode.py expressions.pr system_structure.pr --check --llvm ../../../opengeode.py expressions.pr system_structure.pr --check --llvm
asn1.exe -c dataview-uniq.asn -equal asn1.exe -c dataview-uniq.asn -typePrefix asn1Scc -equal
llc expressions.ll llc expressions.ll
clang -c expressions.s clang -c expressions.s
clang -c dataview-uniq.c clang -c dataview-uniq.c
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
extern void expressions_startup(); extern void expressions_startup();
extern void expressions_run(); extern void expressions_run();
void expressions_RI_assert(Boolean *res, CharString *msg) { void expressions_RI_assert(asn1SccBoolean *res, asn1SccCharString *msg) {
if (!*res) { if (!*res) {
fprintf(stderr, "%.*s\n", (int)msg->nCount, msg->arr); fprintf(stderr, "%.*s\n", (int)msg->nCount, msg->arr);
exit(1); exit(1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment