fjpanag commented on PR #8495:
URL: https://github.com/apache/nuttx/pull/8495#issuecomment-1438269776

   @flyingfish89 sorry for the long delay, I was concentrating on other issues.
   
   I applied your above change:
   ```c
     if (((c | 32) == 'e' && isdigit(*f)) || ((*f == '+' || *f == '-') && 
(isdigit(*(f + 1)))))
       {
         num_decimal = scanexp(&f, 1) + num_decimal;
         if (num_decimal <= llong_min / 100)
           {
             ifexist(endptr, f);
             return zero;
           }
       }
   ```
   
   And indeed I get:
   ```
   strings.lua:154: malformed number near '2'
   ```
   
   If I remove this change, this test passes. So the error is only triggered 
with this change.
   
   ---
   
   I tried the same test with `sim:lua`.  
   The error remains identical:
   
   
![image](https://user-images.githubusercontent.com/46975045/220324812-979d7c70-fad4-4bce-a8d6-3997eae24f58.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to