Bug I can't explain in a title (sorry...) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Bug I can't explain in a title (sorry...)

Hey there, I face a problem with an assembly program I am making in python: I implemented a wrong-syntax catching. But, with the messages I get, I understand that the last line is empty, and so I must make the program deleting this last line. Here is my issue: when I make the program deleting this last line, I get another error message, with which I understand that the last line was NOT empty, thus I loosed what was on the last line. Obviously, I used the same file (not modified) in the two cases. Do you understand what's wrong with this?

6th Nov 2019, 6:04 PM
Gwlanbzh
Gwlanbzh - avatar
3 Answers
+ 3
hi, it would be better if you post your code here, otherwise it's hard to catch the problem.
6th Nov 2019, 6:57 PM
Lothar
Lothar - avatar
+ 1
OK I found my mistake it was a regex error
7th Nov 2019, 7:36 AM
Gwlanbzh
Gwlanbzh - avatar
0
Ok but it is very muddled Stand by
6th Nov 2019, 7:22 PM
Gwlanbzh
Gwlanbzh - avatar