Skip to content
New issue

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

Decimal representation in '.sh' files fails #45

Open
kumiDa opened this issue Oct 31, 2017 · 3 comments
Open

Decimal representation in '.sh' files fails #45

kumiDa opened this issue Oct 31, 2017 · 3 comments

Comments

@kumiDa
Copy link

kumiDa commented Oct 31, 2017

When a BASH script('.sh' file) that has a decimal number in its contents is rendered with the mog command, it tends to produce erroneous output where the mantissa part(numbers after the decimal point) of the number is a different number in itself and not as a whole with the abscissa.

Here is a link for the output.

@kumiDa
Copy link
Author

kumiDa commented Oct 31, 2017

This issue might have been overlooked as the test files included in the test folder do not cover most of the features and data which can possibly be stored in a file of the given filetype.

@kumiDa
Copy link
Author

kumiDa commented Oct 31, 2017

Upon further research over the error, I noted that the issue was caused by the pygment (a dependency module used in the project) module's styling rules, I have raised an issue for the same with them, It is advisable to update the dependency once they patch it up.

Also, the test files in the test folder should be redesigned to meet most of the features and constructs for a given filetype.

@witchard
Copy link
Owner

Great - thanks for raising the issue with pygments. I agree, the tests are reasonably minimal at the moment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants