Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!hc!siegel From: siegel@hc.DSPO.GOV (josh Siegel) Newsgroups: comp.bugs.4bsd Subject: Bug in lex?!? Message-ID: <14373@hc.DSPO.GOV> Date: 12 Sep 88 17:03:16 GMT Organization: Los Alamos National Laboratory Lines: 30 (I have only tested this under SunOS 4.0 and BSD4.3) The following code makes lex produce C code with a syntax error in it: ----- W [ \t]+ %% ^{W}% { } %% same for: ----- W [ \t]+ %% ^{W}\% { } %% but not for: ----- %% ^[ \t]+% { } %% Comments? --Josh Siegel -- Josh Siegel (siegel@hc.dspo.gov) I like using a C-47A "puff dragon" to go shooting beer cans with.