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 anuj.pho...@gmail.com wrote: On Thu, Jun 12, 2014 at 3:13 PM, Carl Worth cwo...@cworth.org 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

[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

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 cwo...@cworth.org 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