TEXT   27
flex patch
Guest on 9th March 2023 01:31:15 PM


  1. Char nmdef[MAXLINE], myesc();
  2.  
  3.   ^{WS}                 indented_code = true; BEGIN(CODEBLOCK);
  4. ! ^#.*\n                        ++linenum; ECHO; /* treat as a comment */
  5.   ^"/*"                 ECHO; BEGIN(C_COMMENT);
  6.   ^"%s"{NAME}?          return ( SCDECL );
  7.   ^"%x"{NAME}?          return ( XSCDECL );
  8. --- 89,95 ----
  9.       Char nmdef[MAXLINE], myesc();
  10.  
  11.   ^{WS}                 indented_code = true; BEGIN(CODEBLOCK);
  12. ! ^#.*\n                        ++linenum; /* treat as a comment */
  13.   ^"/*"                 ECHO; BEGIN(C_COMMENT);
  14.   ^"%s"{NAME}?          return ( SCDECL );
  15.   ^"%x"{NAME}?          return ( XSCDECL );

Raw Paste

Login or Register to edit or fork this paste. It's free.