I have a declared a function containing some debug code as well as a couple of comments. In addition, I added a comment area enclosed within /* and */. This gives something like that:
Uncaught SyntaxError: Got UNFINISHED REGEX expected EOF
It seems that /*// are interpreted by the REGEX, isn't it?
Thanks! That's a really good spot - it's actually not the regex parser at all, it's the block comment handling!
It treats /*/ as a complete block comment, when actually a complete comment would be /**/
Ok, it should be fixed in the latest builds now
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem