Closed nikaido-shinku closed 2 years ago
Looks good. Do we have any way to test this besides manually inspecting the compiler output?
Looks good. Do we have any way to test this besides manually inspecting the compiler output?
Yes, at least in some way. Running make ctest will output error if the identifier was not printed as string, since it would be a syntactically invalid c program. So if there's no error in make ctest, the identifiers should be printed out as string.
The name_of_ident function is relocated in Compcert 3.10. Also, I'm not sure if I should open a pull request for this kind of small changes, but I opened it anyway just for safety.