Minor clean up
Remove an odd {1} repeat count, and remove the "."{DIGIT}+ pattern that is already covered by the following {DIGIT}*"."{DIGIT}+ pattern. Change-Id: If99dfe10a5e37225355472bf4deceb34c0a92eb9
This commit is contained in:
@@ -359,8 +359,7 @@ published return IDL_PUBLISHED;
|
|||||||
return asciiToInteger(yytext, &yylval.ival, &yylval.uval);
|
return asciiToInteger(yytext, &yylval.ival, &yylval.uval);
|
||||||
}
|
}
|
||||||
|
|
||||||
("-")?{DIGIT}+(e|E){1}(("+"|"-")?{DIGIT}+)+(f|F)? |
|
("-")?{DIGIT}+(e|E)(("+"|"-")?{DIGIT}+)?(f|F)? |
|
||||||
("-")?"."{DIGIT}+((e|E)("+"|"-")?{DIGIT}+)?(f|F)? |
|
|
||||||
("-")?{DIGIT}*"."{DIGIT}+((e|E)("+"|"-")?{DIGIT}+)?(f|F)? {
|
("-")?{DIGIT}*"."{DIGIT}+((e|E)("+"|"-")?{DIGIT}+)?(f|F)? {
|
||||||
yylval.dval = asciiToFloat( yytext );
|
yylval.dval = asciiToFloat( yytext );
|
||||||
return IDL_FLOATING_PT_LITERAL;
|
return IDL_FLOATING_PT_LITERAL;
|
||||||
|
Reference in New Issue
Block a user