Patchwork [gimplefe] A bugfix for a missed symbol

login
register
mail settings
Submitter Sandeep Soni
Date Oct. 10, 2011, 9:28 p.m.
Message ID <CANY-sXXd56nKKPRBFtuYggTNTEwaMdCXpYtLCbTHDRKgs-QTog@mail.gmail.com>
Download mbox | patch
Permalink /patch/118846/
State New
Headers show

Comments

Sandeep Soni - Oct. 10, 2011, 9:28 p.m.
Ketaki had pointed a minor bug a long time back. This patch fixes it.


The changelog is:

2011-10-11  Sandeep Soni  <soni.sandeepb@gmail.com>

	* parser.c (gp_parse_var_decl): Fixed a bug for the
	missing symbol 'CPP_LESS' in the 'INTEGER_TYPE' declaration.
Diego Novillo - Oct. 12, 2011, 12:16 p.m.
On Mon, Oct 10, 2011 at 17:28, Sandeep Soni <soni.sandeepb@gmail.com> wrote:

> 2011-10-11  Sandeep Soni  <soni.sandeepb@gmail.com>
>
>        * parser.c (gp_parse_var_decl): Fixed a bug for the
>        missing symbol 'CPP_LESS' in the 'INTEGER_TYPE' declaration.

OK.


Diego.

Patch

Index: parser.c
===================================================================
--- parser.c	(revision 174754)
+++ parser.c	(working copy)
@@ -882,6 +882,7 @@ 
   switch (code)
     {
     case INTEGER_TYPE:
+      gl_consume_expected_token (parser->lexer, CPP_LESS);
       gl_consume_expected_token (parser->lexer, CPP_NUMBER);
       gl_consume_expected_token (parser->lexer, CPP_RSHIFT);
       break;