Skip to content

Commit 85df634

Browse files
authored
Added comment to config.py
1 parent d42d202 commit 85df634

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

SU2_PY/SU2/io/config.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,13 @@ def read_config(filename):
347347
# make sure it has useful data
348348
if (line[0] == '%'):
349349
continue
350-
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+
351357
while(line[0].endswith('\\') or len(line.split('\\')) > 1):
352358
tmp_line = input_file.readline()
353359
tmp_line = tmp_line.strip()

0 commit comments

Comments
 (0)