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

syntax error are not caught #8

Closed
zwetan opened this issue Oct 1, 2017 · 1 comment
Closed

syntax error are not caught #8

zwetan opened this issue Oct 1, 2017 · 1 comment
Milestone

Comments

@zwetan
Copy link
Member

zwetan commented Oct 1, 2017

same for the verify errors, those errors occur in the outer scope of the script

for example

#!/usr/bin/env as3shebang -el -ec

import shell.*;

trace( "hello world" );

# something here

would generate the error

SyntaxError: (eval string):13: Syntax error: Illegal character in input: #
	at shell::Runtime$/returnEval()
	at corsaair.tools.as3shebang::App/main()
	at global$init()
@zwetan zwetan added this to the 1.1.0 milestone Oct 1, 2017
@zwetan
Copy link
Member Author

zwetan commented Oct 1, 2017

with the same model than VerifyError we catch and format SyntaxError

syntax_error

@zwetan zwetan closed this as completed Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant