You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.writeLog(`[[ERR]] - Error in Java File Creation`)
}
It now uses an echo command to create the file. If instead a method like fs.writeFileSync() is used there is no need for escaping quotation characters to write the java file. All characters should be written to the file "as is".
The text was updated successfully, but these errors were encountered:
Efratror
changed the title
Escaped characters and addition of multiple lines in a string give compilation errors
[BUG] Escaped characters and addition of multiple lines in a string give compilation errors
Mar 21, 2022
Bug:
code like:
Give compilation errors due to the fact the quotation character is replaced with multiple escaped characters ("\"")
LS4P/server/src/grammer/terms/preprocessingsnippets.ts
Lines 113 to 122 in 1998f6e
Possible Solution
I think the problem lies at the method to create the java file:
LS4P/server/src/parser.ts
Lines 39 to 44 in 1998f6e
fs.writeFileSync()
is used there is no need for escaping quotation characters to write the java file. All characters should be written to the file "as is".The text was updated successfully, but these errors were encountered: