[PATCH-YAP 5/5] ISO: reject 1E1 as float notation
from ulrich neumerkel
This commit is contained in:
parent
c4913849c6
commit
0fa3fff5d5
@ -602,8 +602,8 @@ get_num(int *chp, int *chbuffp, int inp_stream, int (*Nxtch) (int), int (*Quoted
|
||||
has_overflow = TRUE;
|
||||
ch = Nxtch(inp_stream);
|
||||
}
|
||||
if (might_be_float && (ch == '.' || ch == 'e' )) {
|
||||
if (ch == '.') {
|
||||
if (might_be_float && ch == '.') {
|
||||
{
|
||||
if (--max_size == 0) {
|
||||
Yap_ErrorMessage = "Number Too Long";
|
||||
return TermNil;
|
||||
|
Reference in New Issue
Block a user