From 57f61cf5a06f382a5fc6df60a5019d06f10df477 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 13 Nov 2022 15:37:49 +0100 Subject: Further clarify Fluid file format specifics Remove never used options Clarify the end of the options section --- fluid/README_fl.txt | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/fluid/README_fl.txt b/fluid/README_fl.txt index 49dcc6049..96c0cae71 100644 --- a/fluid/README_fl.txt +++ b/fluid/README_fl.txt @@ -179,27 +179,18 @@ an option is missing, a default value is assumed. "gridy" : ignored - "win_shell_cmd" : string, this is the recommended command when calling - the shell on an MSWindows machine. Implementation may be problematic. - - "win_shell_flags" : integer, interpreted as a bit field: bit 0 is set - if the .fl must be save before runing the shell command, bit 1 is set for - saving the source code, bit 2 is set for saving text strings. - - "linux_shell_cmd" : as above for Linux - - "linux_shell_flags" : : as above for Linux - - "mac_shell_cmd" : as above for macOS - - "mac_shell_flags" : as above for macOS - Note: There is no keyword that marks the end of the options section. The - Tree section starts when a word is not in the options list. If the word - is not a vaild type, Fluid will give an error message and try to continue - to read the file. Using new option keywords makes .fl files incompatible - to earlier versions of Fluid. Due to the forgiving interpreter, files may - still be read correctly despite error messages. + option list ends when a word is not in the options list and it is in + the list of known types. + + If the word is neither an option nor a vaild type, Fluid will give an + error message and try to continue to read the file. Using new option + keywords makes .fl files incompatible to earlier versions of Fluid. + Due to the forgiving interpreter, files may still be read correctly + despite error messages. + + If a word is in the list of know types, the type is read, including + optional children. No more options are allowed beyond this point. Tree -- cgit v1.2.3