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

always verbose in EXECUTE() #56

Closed
slayoo opened this issue Apr 7, 2018 · 1 comment
Closed

always verbose in EXECUTE() #56

slayoo opened this issue Apr 7, 2018 · 1 comment

Comments

@slayoo
Copy link
Member

slayoo commented Apr 7, 2018

As reported by @alaingdl at SF.net (https://sourceforge.net/p/gnudatalanguage/bugs/692/):

two weakness in EXECUTE()

1/ the argument QuietCompile (now CompileFlags in IDL) is not well enforced
and has now 3 possible values (0,1, [2 : implied print])

1a/ quietCompile = p1->True(); is not OK (odd/even effect)
1b/ line 1553 is always verbose, even if flag asks to be quiet ...
RetCode retCode = caller->Interpreter()->execute( progAST);

e.g. : ok=EXECUTE("a = ABCDEF(/version)", flag) & print, ok
(assuming ABCDEF does not exist)
if flag=0 then message should appears (syntax error)
if flag != 0 then no message at all

2/ A new argument was added to EXECUTE(), I will (try to)
add it in the arg. number but it will not be enforced

@slayoo
Copy link
Member Author

slayoo commented May 26, 2020

merged with #83

@slayoo slayoo closed this as completed May 26, 2020
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