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
Using characters like for example "," and "@" result in a file creation or compile error due to the fact that the aren't removed from the processed text and are written to the java file.
Possible Solution:
Change the regex expression "singleLineComment" in server/src/preprocessing.ts
from: export let singleLineComment = /\/\/([ ]*([A-Za-z\"\.\(\)\'\=\<\>\!])\w*)*/g
to: export let singleLineComment = /\/\/(.)*/g
The text was updated successfully, but these errors were encountered:
Efratror
changed the title
Singleline comments with some special characters aren't removed from proccesed text
[BUG] Singleline comments with some special characters aren't removed from proccesed text
Mar 21, 2022
Bug:
Using characters like for example "," and "@" result in a file creation or compile error due to the fact that the aren't removed from the processed text and are written to the java file.
Possible Solution:
Change the regex expression "singleLineComment" in server/src/preprocessing.ts
from:
export let singleLineComment = /\/\/([ ]*([A-Za-z\"\.\(\)\'\=\<\>\!])\w*)*/g
to:
export let singleLineComment = /\/\/(.)*/g
The text was updated successfully, but these errors were encountered: