Re: [Mesa-dev] [PATCH] glsl: Fix glcpp to properly lex entire "preprocessing numbers"

2014-06-19 Thread Anuj Phogat
On Thu, Jun 12, 2014 at 5:18 PM, Anuj Phogat wrote: > On Thu, Jun 12, 2014 at 3:13 PM, Carl Worth wrote: >> >> The preprocessor defines a notions of a "preprocessing number" that >> starts with either a digit or a decimal point, and continues with zero >> or more of digits, decimal points, identi

Re: [Mesa-dev] [PATCH] glsl: Fix glcpp to properly lex entire "preprocessing numbers"

2014-06-12 Thread Anuj Phogat
On Thu, Jun 12, 2014 at 3:13 PM, Carl Worth wrote: > > The preprocessor defines a notions of a "preprocessing number" that > starts with either a digit or a decimal point, and continues with zero > or more of digits, decimal points, identifier characters, or the sign > symbols, ('-' and '+'). > >

[Mesa-dev] [PATCH] glsl: Fix glcpp to properly lex entire "preprocessing numbers"

2014-06-12 Thread Carl Worth
The preprocessor defines a notions of a "preprocessing number" that starts with either a digit or a decimal point, and continues with zero or more of digits, decimal points, identifier characters, or the sign symbols, ('-' and '+'). Prior to this change, preprocessing numbers were lexed as some co