fix empty program check in REPL
This commit is contained in:
parent
ad1280cf09
commit
ff0ea7a0ad
@ -67,7 +67,7 @@ i64 readInt(char** p) {
|
|||||||
return am;
|
return am;
|
||||||
}
|
}
|
||||||
void cbqn_runLine0(char* ln, i64 read) {
|
void cbqn_runLine0(char* ln, i64 read) {
|
||||||
if (ln[0]==10) return;
|
if (ln[0]==0 || read==0) return;
|
||||||
|
|
||||||
B code;
|
B code;
|
||||||
int output; // 0-no; 1-formatter; 2-internal
|
int output; // 0-no; 1-formatter; 2-internal
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user