Advertisement
SReject

mIRC block comment terminator behavior

Sep 16th, 2017
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. Valid:
  2. /* comment
  3. */
  4.  
  5. Multi-line with trailing text
  6. Unorthodoxed; 'text' is considered part of comment
  7. /* comment
  8. */ text
  9.  
  10. Multi-line with trailing text after pipe
  11. Unorthodoxed; '| text' is considered part of comment
  12. /* comment
  13. */ | text
  14.  
  15. Proceeded by a pipe
  16. Unorthodoxed: Starts the block comment but terminates at EOL
  17. command | /* comment
  18.  
  19. Single line
  20. Invalid: Doesn't terminate the comment
  21. /* comment */
  22.  
  23. Leading text with whitespace
  24. Invalid: Doesn't terminate the comment
  25. /* comment
  26. text */
  27.  
  28. Leading text without whitespace
  29. Invalid: Doesn't terminate the comment
  30. /* comment
  31. text*/
  32.  
  33. Proceeded by command
  34. Invalid: Not recognized as a comment
  35. command /* comment
  36. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement