periscop / openscop

A Specification and a Library for Data Exchange in Polyhedral Compilation Tools
BSD 3-Clause "New" or "Revised" License
26 stars 14 forks source link

Add print_n function to different osl structure. #31

Open Haerezis opened 9 years ago

Haerezis commented 9 years ago

Now all the normal "print" function call their counterpart print_n function with a n=-1.

make test shows 100% success.

Ced commented 9 years ago

Thanks, it looks nice, however the documentation does not always mention that the function will print only the n first elements of the list, moreover the fact that a negative value for n will print all the elements is never documented. Minor issues:

Haerezis commented 9 years ago

Ok I'll fix that later.

Haerezis commented 9 years ago

I've fixed the different problems you noticed. I've also merged this branch with the master of openscop in periscop so you can merge directly the pull request.

Haerezis commented 9 years ago

I've fixed the few errors mentioned earlier.

ftynse commented 9 years ago

LGTM