graphitemaster / gmqcc

An Improved Quake C Compiler
Other
163 stars 29 forks source link

Broken char literals get accepted #195

Open martin-t opened 4 years ago

martin-t commented 4 years ago

print(ftos('abc')); prints 97 as if it was a valid char.

This is an easy mistake to make by making a typo in a vector literal - e.g. print(ftos('5 6 a'));.