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

lispRepr() crashes with SIGSEGV #62

Closed
reactormonk opened this issue Nov 3, 2011 · 3 comments
Closed

lispRepr() crashes with SIGSEGV #62

reactormonk opened this issue Nov 3, 2011 · 3 comments

Comments

@reactormonk
Copy link
Contributor

How to reproduce:

import macros
const x =  parseStmt("""
echo "42"
""").lispRepr()
echo x
@zah
Copy link
Member

zah commented Nov 3, 2011

It's unfortunate that this results in a crash instead of a helpful error message, but you should know that this is not the intended usage model for the parse* functions.

Please, see my comment at #61 for a detailed explanation.

@Araq
Copy link
Member

Araq commented Nov 9, 2011

I can't reproduce this bug. It compiles and produces the expected output. Maybe has been fixed in the meantime?

@Araq
Copy link
Member

Araq commented Nov 12, 2011

Fixed in meantime.

@Araq Araq closed this as completed Nov 12, 2011
krux02 pushed a commit to krux02/Nim that referenced this issue Jan 11, 2022
62: add string fields for target command and extension r=saem a=saem

- previously the were consts, and undocumtented, now they're funcs
  and marked for inlining
- changed whitelist to
- minor formatting to something less archaic

minor items while looking into nim-lang#61.

Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
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

3 participants