comparison src/cjrize.sml @ 725:4c5796512edc

Catching duplicate cookie and style paths
author Adam Chlipala <adamc@hcoop.net>
date Thu, 16 Apr 2009 12:07:21 -0400
parents f152f215a02c
children f7e2026dd5ae
comparison
equal deleted inserted replaced
724:12ec14a6be0b 725:4c5796512edc
554 end 554 end
555 | L.DSequence s => 555 | L.DSequence s =>
556 (SOME (L'.DSequence s, loc), NONE, sm) 556 (SOME (L'.DSequence s, loc), NONE, sm)
557 | L.DDatabase s => (SOME (L'.DDatabase s, loc), NONE, sm) 557 | L.DDatabase s => (SOME (L'.DDatabase s, loc), NONE, sm)
558 | L.DJavaScript s => (SOME (L'.DJavaScript s, loc), NONE, sm) 558 | L.DJavaScript s => (SOME (L'.DJavaScript s, loc), NONE, sm)
559 | L.DCookie args => (SOME (L'.DCookie args, loc), NONE, sm)
559 | L.DStyle args => (SOME (L'.DStyle args, loc), NONE, sm) 560 | L.DStyle args => (SOME (L'.DStyle args, loc), NONE, sm)
560 561
561 fun cjrize ds = 562 fun cjrize ds =
562 let 563 let
563 val (dsF, ds, ps, sm) = foldl (fn (d, (dsF, ds, ps, sm)) => 564 val (dsF, ds, ps, sm) = foldl (fn (d, (dsF, ds, ps, sm)) =>