Don't assume QChar::null() is the end of input
Don't assume QChar::null() is the end of input

The lexer currently assumes a null QChar implies the end
of our input stream. Change it to take the full string into
account. null QChar's inside comments or strings are now
accepted, everywhere else they will cause a parse error.

Change-Id: I60c40a32d5afe94c6c56d8a8092fc32726b98420
Reviewed-by: Erik Verbruggen <5edfe905d082749f2ac3f4e6b42937f39f083771@digia.com>

matthewvogt/qtdeclarative,qmlc/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,matthewvogt/qtdeclarative,jfaust/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,corngood/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,jfaust/qtdeclarative,matthewvogt/qtdeclarative,mgrunditz/qtdeclarative-2d,mgrunditz/qtdeclarative-2d,corngood/qtdeclarative,jfaust/qtdeclarative,jfaust/qtdeclarative,qmlc/qtdeclarative,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,corngood/qtdeclarative,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,corngood/qtdeclarative,corngood/qtdeclarative,qmlc/qtdeclarative,corngood/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,matthewvogt/qtdeclarative,jfaust/qtdeclarative,mgrunditz/qtdeclarative-2d,matthewvogt/qtdeclarative