Skip to content

Instantly share code, notes, and snippets.

@drussel
Created August 9, 2012 21:55
Show Gist options
  • Save drussel/3308392 to your computer and use it in GitHub Desktop.
Save drussel/3308392 to your computer and use it in GitHub Desktop.
pygments 1.5 vs older
new:
[(Token.Comment.Multiline, '/**\n * \\file IMP/compatibility/compiler.h\n * \\brief Various compiler workarounds\n *\n * Copyright 2007-2012 IMP Inventors. All rights reserved.\n */'), (Token.Text, '\n'), (Token.Text, '\n'), (Token.Comment.Preproc, '#'), (Token.Comment.Preproc, 'ifndef IMPCOMPATIBILITY_COMPATIBILITY_COMPILER_H'), (Token.Comment.Preproc, '\n'), (Token.Comment.Preproc, '#'), (Token.Comment.Preproc, 'define IMPCOMPATIBILITY_COMPATIBILITY_COMPILER_H'), (Token.Comment.Preproc, '\n'), (Token.Text, '\n')] [(Token.Comment.Preproc, '#'), (Token.Comment.Preproc, 'endif'), (Token.Comment.Preproc, '\n'), (Token.Text, '\n'), (Token.Text, '\n'), (Token.Text, '\n'), (Token.Comment.Preproc, '#'), (Token.Comment.Preproc, 'endif '), (Token.Comment.Multiline, '/* IMPCOMPATIBILITY_COMPATIBILITY_COMPILER_H */'), (Token.Comment.Preproc, '\n')]
old:
[(Token.Comment.Multiline, '/**\n * \\file IMP/compatibility/compiler.h\n * \\brief Various compiler workarounds\n *\n * Copyright 2007-2012 IMP Inventors. All rights reserved.\n */'), (Token.Text, '\n'), (Token.Comment.Preproc, '\n#'), (Token.Comment.Preproc, 'ifndef IMPCOMPATIBILITY_COMPATIBILITY_COMPILER_H'), (Token.Comment.Preproc, '\n'), (Token.Comment.Preproc, '#'), (Token.Comment.Preproc, 'define IMPCOMPATIBILITY_COMPATIBILITY_COMPILER_H'), (Token.Comment.Preproc, '\n'), (Token.Comment.Preproc, '\n#'), (Token.Comment.Preproc, 'include "compatibility_config.h"')] [(Token.Comment.Preproc, '#'), (Token.Comment.Preproc, 'endif'), (Token.Comment.Preproc, '\n'), (Token.Comment.Preproc, '\n#'), (Token.Comment.Preproc, 'endif'), (Token.Comment.Preproc, '\n'), (Token.Comment.Preproc, '\n\n\n#'), (Token.Comment.Preproc, 'endif '), (Token.Comment.Multiline, '/* IMPCOMPATIBILITY_COMPATIBILITY_COMPILER_H */'), (Token.Comment.Preproc, '\n')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment