"Massachusetts" "Institute" "of" "Technology"))
#f)
results))))
- (and (pair? results)
- (reverse results)))))))
+ (translate-suffix leader start end results))))))
+
+(define (translate-suffix leader start end results)
+ (let ((regs (re-substring-search-forward
+ "^[(]define last-copyright-year [0-9]+ *[)].*$\n"
+ leader start end)))
+ (if regs
+ (reverse
+ (cons
+ (list (re-match-start-index 0 regs)
+ (re-match-end-index 0 regs)
+ "" "" (list
+ (list
+ "(define" "last-copyright-year"
+ (number->string (this-year)) ")"))
+ #f)
+ results))
+ (and (pair? results)
+ (reverse results)))))
(define (match-copyright leader start end)
(let ((regs
(define copyright-years)
+(define last-copyright-year 2014 )
+
(add-boot-init!
(lambda ()
(set! copyright-years
- (let ((now 2014)
+ (let ((now last-copyright-year)
(then 1986))
(iota (+ (- now then) 1) then)))
(add-subsystem-identification! "Release" '(9 2 1))