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

Probleme AST PIPE #7

Closed
gguichard opened this issue Mar 30, 2019 · 2 comments
Closed

Probleme AST PIPE #7

gguichard opened this issue Mar 30, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gguichard
Copy link
Collaborator

gguichard commented Mar 30, 2019

Lorsque je rentre la commande "ls | > ok | > test" l'AST suivant est généré :

           "|"
           /  \
        "ls"  "|"
               /
           "> ok"
             /
        "> test"

alors que ça devrait plus correspondre à quelque chose comme :

            "|"
           /   \
        "ls"    \
                "|"
                / \
          "> ok"  "> test"
@gguichard
Copy link
Collaborator Author

gguichard commented Mar 30, 2019

Pour preciser ; ces tests resultent de la branche clean_exec, sur master il semblerait que le positionnement soit egalement mauvais mais pas de la meme facon. Pour la meme commande j'obtiens ceci :

            "|"
           /   \
        "ls"    "|"
        /         \
    "> ok"     "> test"

@gguichard gguichard added the bug Something isn't working label Mar 30, 2019
@tcollard
Copy link
Owner

Fix sur la branch Modif AST et master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants