Skip to content

Commit

Permalink
Add newlines to fix includes bug
Browse files Browse the repository at this point in the history
Add newlines to fix includes bug
  • Loading branch information
sam-astro authored Aug 22, 2022
2 parents 306af08 + 942c49d commit cf56ecf
Show file tree
Hide file tree
Showing 19 changed files with 250 additions and 65,785 deletions.
Binary file modified Astro8-Emulator/.vs/Astro8-Emulator/v17/.suo
Binary file not shown.
Binary file modified Astro8-Emulator/.vs/Astro8-Emulator/v17/Preview/Browse.VC.db
Binary file not shown.
4 changes: 2 additions & 2 deletions Astro8-Emulator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ int main(int argc, char** argv)
{
// Add jump to end (this prevents this code from executing accidentally)
int randNum = rand() % 9999;
codeTmp += "\ngoto #" + path + to_string(randNum);
codeTmp += "\ngoto #" + path + to_string(randNum) + "\n";

// Get all lines of file
while (getline(fileStr, li)) {
Expand All @@ -413,7 +413,7 @@ int main(int argc, char** argv)
}

// Label to jump to
codeTmp += "#" + path + to_string(randNum);
codeTmp += "\n#" + path + to_string(randNum);
fileStr.close();
}
else {
Expand Down
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.exe
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.iobj
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.ipdb
Binary file not shown.
8 changes: 4 additions & 4 deletions Astro8-Emulator/x64/Release/Astro8-Emulator.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
 armstrong-compiler.cpp
main.cpp
 main.cpp
D:\Code\Astro8-Computer\Astro8-Emulator\processing.h(71,30): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\processing.h(134,30): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\processing.h(135,30): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Expand All @@ -22,7 +21,8 @@ D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1535,28): warning C4244: '+=':
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1538,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1743,32): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
Generating code
Previous IPDB and IOBJ mismatch, fall back to full compilation.
All 1088 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
1 of 1088 functions (<0.1%) were compiled, the rest were copied from previous compilation.
0 functions were new in current compilation
0 functions had inline decision re-evaluated but remain unchanged
Finished generating code
Astro8-Emulator.vcxproj -> D:\Code\Astro8-Computer\Astro8-Emulator\x64\Release\Astro8-Emulator.exe
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.pdb
Binary file not shown.
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.tlog/CL.read.1.tlog
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.tlog/CL.write.1.tlog
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/main.obj
Binary file not shown.
Loading

0 comments on commit cf56ecf

Please sign in to comment.