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

Optional else block should not produce error message #117

Open
kbkpbot opened this issue Mar 27, 2023 · 1 comment
Open

Optional else block should not produce error message #117

kbkpbot opened this issue Mar 27, 2023 · 1 comment
Labels
Enhancement New feature or request

Comments

@kbkpbot
Copy link
Contributor

kbkpbot commented Mar 27, 2023

test2.c

int test(int a) {
        if (a > 1)
                return 0;
        return 1;
}

c2v produce extra error message "No more children" :

C to V translator 0.3.1
  translating /home/ddfd/v/test2.c ... No more children
Reformatted file: /home/ddfd/v/test2.v
 took    20 ms ; output .v file: /home/ddfd/v/test2.v
Translated   1 files in    20 ms.
@ArtemkaKun ArtemkaKun added the Enhancement New feature or request label Mar 27, 2023
@ArtemkaKun
Copy link
Contributor

ArtemkaKun commented Mar 27, 2023

I think that was used as debug message while the initial development. Should be investigated and improved

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

No branches or pull requests

2 participants