drt24 / gnuprologjava

GNU Prolog for Java
8 stars 5 forks source link

Never need to quote [] #23

Closed thetrime closed 8 years ago

thetrime commented 8 years ago

This is a fix for #22

There might be other atoms that don't need quoting, but this seemed safest to me

thetrime commented 8 years ago

Ok, I like the idea of pushing AtomTerm down into the needBeQuoted method and checking it there. I've also taken the liberty of improving the grammar of the method name while I was modifying it :)

drt24 commented 8 years ago

Excellent. Thank you.