diff options
Diffstat (limited to 'lllc')
-rw-r--r-- | lllc/main.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lllc/main.cpp b/lllc/main.cpp index 4ff204ba..5679bc2b 100644 --- a/lllc/main.cpp +++ b/lllc/main.cpp @@ -118,14 +118,7 @@ int main(int argc, char** argv) string src; if (infile.empty()) - { - string s; - while (!cin.eof()) - { - getline(cin, s); - src.append(s); - } - } + src = readStandardInput(); else src = readFileAsString(infile); |