(text : str)
| 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-", "--") |
| 73 | text = text.replace("−\xa0−", "--") |
| 74 | text = text.replace('−', '-') |
| 75 | if (text.find("\xa0") != -1): |
| 76 | raise SyntaxError("There still is a char to replace in the increment. This must be cleaned up first.") |
| 77 | return text |
| 78 | |
| 79 | def getEntryType(text : str): |
| 80 | text = removeComments(text) |