We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/polystat/c2eo/blob/master/project/src/transpiler/main.cpp here we have package_name variable, but I'm not sure that's true.
package_name
This variable changed only here:
package_name = filename.substr(0, filename.size() - 3); if (package_name.rfind('/') != std::string::npos) { package_name = package_name.substr(package_name.rfind('/') + 1); }
For example I would like to run c2eo <dist.c> out.eo. Then package_name will equal "out", but it's name of file, not of the package.
c2eo <dist.c> out.eo
The text was updated successfully, but these errors were encountered:
It seems to me that this complicates the understanding and readability of the code, at least it led me astray.
Sorry, something went wrong.
@yegor256 what do you think?
@EugeneDar I don't know... please, suggest an improvement (PR) and we'll ask c2eo developers to review it
No branches or pull requests
https://github.com/polystat/c2eo/blob/master/project/src/transpiler/main.cpp here we have
package_name
variable, but I'm not sure that's true.This variable changed only here:
For example I would like to run
c2eo <dist.c> out.eo
. Thenpackage_name
will equal "out", but it's name of file, not of the package.The text was updated successfully, but these errors were encountered: