Changeset 148897 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Apr 22, 2013, 11:21:10 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r148849 r148897 622 622 error = ParserError(); 623 623 char* line = readline(source.isEmpty() ? interactivePrompt : "... "); 624 shouldQuit = !line; 625 if (!line) 626 break; 624 627 source = source + line; 625 628 source = source + '\n'; 626 629 checkSyntax(globalObject->globalExec(), makeSource(source, interpreterName), error); 627 shouldQuit = !line; 628 if (!line || !line[0]) 630 if (!line[0]) 629 631 break; 630 if (line[0]) 631 add_history(line); 632 add_history(line); 632 633 } while (error.m_syntaxErrorType == ParserError::SyntaxErrorRecoverable); 633 634
Note:
See TracChangeset
for help on using the changeset viewer.