Skip to content

Commit

Permalink
Detect TSU jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
racingmars committed Jan 8, 2022
1 parent 276bc7b commit 36ab5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (s *scanner) emitLine(linefeed bool) {
// This regular expression, *if immediately followed by a LF+FF*, indicates
// end of job from the Moseley MVS 3.8J sysgen and TK4-.
var eojRegexp = regexp.MustCompile(
`(?m)\*+.+END.+(JOB|STC)\D+(\d+)\s+(\S+)\s+.+ROOM.+END.+\*+`)
`(?m)\*+.+END.+(JOB|STC|TSU)\D+(\d+)\s+(\S+)\s+.+ROOM.+END.+\*+`)

// When we emit a line and page together (e.g. we got a LF followed by FF),
// we might be at the end of the job, so we'll check for the end of the
Expand Down

0 comments on commit 36ab5f0

Please sign in to comment.