summaryrefslogtreecommitdiff
path: root/support/C++2LaTeX-1_1pl1/flex-patch
blob: dc15f90e12cbe0c631a80688385218f717e15ee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** scan.l~	Tue Mar 20 20:38:59 1990
--- scan.l	Fri Mar 30 13:13:58 1990
***************
*** 89,95 ****
      Char nmdef[MAXLINE], myesc();
  
  ^{WS}			indented_code = true; BEGIN(CODEBLOCK);
! ^#.*\n			++linenum; ECHO; /* treat as a comment */
  ^"/*"			ECHO; BEGIN(C_COMMENT);
  ^"%s"{NAME}?		return ( SCDECL );
  ^"%x"{NAME}?		return ( XSCDECL );
--- 89,95 ----
      Char nmdef[MAXLINE], myesc();
  
  ^{WS}			indented_code = true; BEGIN(CODEBLOCK);
! ^#.*\n			++linenum; /* treat as a comment */
  ^"/*"			ECHO; BEGIN(C_COMMENT);
  ^"%s"{NAME}?		return ( SCDECL );
  ^"%x"{NAME}?		return ( XSCDECL );