comments, use Nothing instead of voidptr
This commit is contained in:
@@ -48,12 +48,11 @@ int main(int argc, char** argv) {
|
||||
printf("Error while creating lexer: %s", lexer.as.error);
|
||||
exit(1);
|
||||
}
|
||||
ResultType(voidptr, charptr) lexed = lex(&lexer.as.success);
|
||||
ResultType(Nothing, charptr) lexed = lex(&lexer.as.success);
|
||||
if (lexed.error) {
|
||||
printf("%s", lexed.as.error);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user