]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3769: Lexer/Parser: Don't package location data in SCM_TOKEN semantic value
authorDavid Kastrup <dak@gnu.org>
Wed, 1 Jan 2014 23:57:15 +0000 (00:57 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 6 Jan 2014 15:57:25 +0000 (16:57 +0100)
commit54b33564fb8bda48bb437211cbf17526dc206578
tree8d59662e8f9fdb0d21a1d24e12a6898464f57a36
parente24fb7cc5671aea95211d4a0c56f28fb6fe8720e
Issue 3769: Lexer/Parser: Don't package location data in SCM_TOKEN semantic value

As the location data is available as the location value in the parser
anyway, there is no point in packaging it into the semantic value.
Among other things, this leads to a cleaner display when using
-ddebug-parser, and to better understandable code.
lily/include/lily-lexer.hh
lily/include/parse-scm.hh
lily/lexer.ll
lily/parse-scm.cc
lily/parser.yy