opencog / link-grammar

The CMU Link Grammar natural language parser
GNU Lesser General Public License v2.1
389 stars 119 forks source link

Remove asserts that generate compiler warnings #1533

Closed linas closed 6 months ago

linas commented 6 months ago

This fixes issue #1508. Also some minor style modernizations included.

ampli commented 6 months ago

Two lines remained in print.c (365, 438): https://github.com/opencog/link-grammar/blob/5d5df94f2bce1f73a58766a54f2239b60f721d45/link-grammar/print/print.c#L365-L438

linas commented 6 months ago

Dohh. Thanks. Fixed this in direct push of 6f6180d