You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/08/07 20:47:06 UTC

[jira] [Created] (TS-2108) TsConfig doesn't build with bison 3.0

James Peach created TS-2108:
-------------------------------

             Summary: TsConfig doesn't build with bison 3.0
                 Key: TS-2108
                 URL: https://issues.apache.org/jira/browse/TS-2108
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: James Peach


With bison 3.0, the generated code has changes such that BisonHeaderToC.sed no longer edits the generated header correctly.

TsConfigGrammar ends up looking like this:
{code}

namespace ts { namespace config {
enum TokenType {
  {
    STRING = 258,
    IDENT = 259,
    INTEGER = 260,
    LIST_OPEN = 261,
    LIST_CLOSE = 262,
    GROUP_OPEN = 263,
    GROUP_CLOSE = 264,
    PATH_OPEN = 265,
    PATH_CLOSE = 266,
    PATH_SEPARATOR = 267,
    SEPARATOR = 268,
    ASSIGN = 269
  };
}} // namespace ts::config
{code}

Maybe a more robust solution would be to include the generated header into another file that does the namespace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira