]> sourceware.org Git - systemtap.git/commit - parse.cxx
PR11617: Move string literal gluing from lexer to parser
authorJosh Stone <jistone@redhat.com>
Sat, 22 May 2010 01:32:46 +0000 (18:32 -0700)
committerJosh Stone <jistone@redhat.com>
Sat, 22 May 2010 01:40:52 +0000 (18:40 -0700)
commitc5be7511ea61fb90f55deb0b8308e8c256c0559b
tree5f92affdacab938211f442c6fff8ec3edef6a079
parent7ef486ad75e62291b1d2b25a81c91858a048c8dc
PR11617: Move string literal gluing from lexer to parser

* parse.cxx (lexer::ate_comment): New flag if we just passed a comment.
  (lexer::scan): Set ate_comment, remove string gluing.
  (parser::parse_literal): Glue strings if not comment-separated.
* testsuite/semok/thirtyfive.stp: Extend test.
parse.cxx
testsuite/semok/thirtyfive.stp
This page took 0.027031 seconds and 5 git commands to generate.