mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:27:39 +00:00
93f4f00719
Hash values are now computed for each "paragraph" starting with \LMHash (which includes subsequent grammar, dartCode, itemize blocks, but stops at \section-like commands). Now addlatexhash.dart expects three arguments (first the source latex file, then the destination simplified and hash-value-annotated latex source file, and finally a file name used to create the list of hash values emitted). Adjusted testing accordingly. Added a test for robustness of the hash value generation: It is checked that lots of different "unimportant" changes make no difference for the generated hash values (e.g., we can add/remove comments, change white space, add \commentary{..} etc. without changing the hash values). In order to ensure that all "structure" commands in the spec have a label, I added an \LMLabel{..} a handful of places, following the style which is used throughout the spec. In dart.sty, the \renewcommand that made \LMHash{} produce a fixed hash value has been removed such that the actual hash values are now inserted into the generated spec PDF/DVI file. Tests have been adjusted to handle this difference between the spec with and without hash values when comparing the two. R=gbracha@google.com, lrn@google.com, ricow@google.com Committed: https://code.google.com/p/dart/source/detail?r=41658 Reverted: https://code.google.com/p/dart/source/detail?r=41662 Review URL: https://codereview.chromium.org//652993005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41687 260f80e4-7a28-3924-810f-c04153c831b5 |
||
---|---|---|
.. | ||
language |