Community
Participate
Working Groups
A config string with an embedded escape will cause the generated .c configuration file to be uncompilable. Foe example, "hello world\n" will be translated into a string with \n replaced by a single new line. When writing to the generated C file, this results in a an illegal C initialization. We need to "undo" the translation performed by JavaScript and convert into the appropriate C digraphs (where possible). The workaround it to always escape the escape sequences interpreted by JavaSctip. In the case above, "hello world\n" would be written as "hello world\\n".