We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42d202 commit 85df634Copy full SHA for 85df634
1 file changed
SU2_PY/SU2/io/config.py
@@ -347,7 +347,13 @@ def read_config(filename):
347
# make sure it has useful data
348
if (line[0] == '%'):
349
continue
350
-
+
351
+ # --- Check if there is a line continuation character at the
352
+ # end of the current line or somewhere in between (the rest is ignored then).
353
+ # If yes, read until there is a line without one or an empty line.
354
+ # If there is a statement after a cont. char
355
+ # throw an error. ---*/
356
357
while(line[0].endswith('\\') or len(line.split('\\')) > 1):
358
tmp_line = input_file.readline()
359
tmp_line = tmp_line.strip()
0 commit comments