This tries to stay as close as possible to the original.
Ultimately, the whole formatting code should be reworked.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This contains mostly string manipulation, so C++ is much more
convenient.
This commit only changes the things that don't compile in C++:
- turn ?alloc/free into std::vector
- use the C++ version of the translation machinery
- add namespace for enum in pl0t_info struct
Contains minor whitespace fixes.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>