(text : str)
| 61 | raise SyntaxError("There still is a char to replace in the comment. This must be cleaned up first.") |
| 62 | return text |
| 63 | def cleanConditionPart(text : str): |
| 64 | text = text.strip() |
| 65 | text = text.replace("\xa0−\xa0", " - ") |
| 66 | text = text.replace('−', '-') |
| 67 | if (text.find("\xa0") != -1): |
| 68 | raise SyntaxError("There still is a char to replace in the condition. This must be cleaned up first.") |
| 69 | return text |
| 70 | def cleanIncrement(text : str): |
| 71 | text = text.strip() |
| 72 | text = text.replace("-\xa0-", "--") |