Advertisement
andreclemencio

Untitled

Feb 28th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. %X COMMENT_B
  2. %X COMMENT
  3.  
  4. "/*" {BEGIN COMMENT;}
  5. <COMMENT>\n ;
  6. <COMMENT>"*/" {BEGIN 0;}
  7. <COMMENT><<EOF>> ; //error comentarios nao terminados
  8. <COMMENT>. ;
  9. "//" {BEGIN COMMENT_B;}
  10. <COMMENT_B>"\r"|"\n"|"\r\n" {BEGIN 0;}
  11. <COMMENT_B><<EOF>> {BEGIN 0;}
  12. <COMMENT_B>. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement