Skip to content

Commit

Permalink
Stop SYNTAX_TREE access auto globals
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson authored and markuspf committed Dec 5, 2018
1 parent 4ee0c13 commit 67fb341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tst/testinstall/syntaxtree.tst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Error, SYNTAX_TREE: <function> must be a plain GAP function (not a function)
# Just try compiling all functions we can find in the workspace
# to see nothing crashes.
gap> for n in NamesGVars() do
> if IsBoundGlobal(n) then
> if IsBoundGlobal(n) and not IsAutoGlobal(n) then
> v := ValueGlobal(n);
> if IsFunction(v) and not IsKernelFunction(v) then
> SYNTAX_TREE(v);
Expand Down

0 comments on commit 67fb341

Please sign in to comment.