Commits

Tim Hatch  committed e490c4a

Remove nested comment from pawn example.

This has been causing a number of failing tests, and I find no evidence in half
an hour of searching online that nested comments are actually supported (an
example state machine in Pawn_Language_Guide.pdf doesn't; and says it's based on
C which doesn't.

I haven't tried the Pawn compiler itself, but to support nested comments better
will require adjusting other patterns as well.

  • Participants
  • Parent commits 678d53a

Comments (0)

Files changed (1)

File tests/examplefiles/pawn_example

 /* One-line comment */
 /* Two-line
    Comment  */
-/*
-  Nested
-  /*
-    Multiline
-    /*
-      Comment
-    */
-  */
-*/
 
 CREATE ttNames.
 ASSIGN ttNames.cName = {&MY_NAME}.