stage1_2/iec_flex.ll
changeset 637 1b6f337222e0
parent 634 736b36a83548
child 701 562c01f82afb
--- a/stage1_2/iec_flex.ll	Mon Oct 22 17:44:40 2012 +0200
+++ b/stage1_2/iec_flex.ll	Mon Oct 22 23:08:54 2012 +0200
@@ -849,7 +849,7 @@
 	/* Any other pragma we find, we just pass it up to the syntax parser...   */
 	/* Note that the <body_state> state is exclusive, so we have to include it here too. */
 {pragma}	{/* return the pragmma without the enclosing '{' and '}' */
-         uint cut = yytext[1]=='{'?2:1;
+         int cut = yytext[1]=='{'?2:1;
 		 yytext[strlen(yytext)-cut] = '\0';
 		 yylval.ID=strdup(yytext+cut);
 		 return pragma_token;