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

Do-While #5

Open
shakna-israel opened this issue Dec 13, 2018 · 0 comments
Open

Do-While #5

shakna-israel opened this issue Dec 13, 2018 · 0 comments

Comments

@shakna-israel
Copy link
Owner

Do-While loops kinda suck at the moment.

Do
    display("> ");
    line = esh_read_line();
    args = esh_split_line(line);
    status = esh_exec(args);

    free(line);
    free(args);
  // Huh. CNoEvil probably needs a way to neaten this up.
  end While status);

The end of the loop requires a hanging ); which is just irritating.

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

1 participant