Hash :
40da4c53
Author :
Date :
2012-04-12T05:23:19
Added HAS_LEADING_SPACE flag to pp::Token. Split the new preprocessor into a separate target. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1032 736b8ea6-26fd-11df-bfd4-992fa37f6226
//
// Copyright (c) 2011 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "Token.h"
namespace pp
{
std::ostream& operator<<(std::ostream& out, const Token& token)
{
if (token.hasLeadingSpace())
out << " ";
out << token.value;
return out;
}
} // namespace pp