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:
parent
d868e2d2e3
commit
71ac97f709
@ -359,8 +359,7 @@ published return IDL_PUBLISHED;
|
||||
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)? {
|
||||
yylval.dval = asciiToFloat( yytext );
|
||||
return IDL_FLOATING_PT_LITERAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user