Skip to content

Commit

Permalink
remove message.cpp from the build for now, it's broken and it's going…
Browse files Browse the repository at this point in the history
… to take some debugging of the parser syntax
  • Loading branch information
leeter committed Sep 28, 2014
1 parent cd5fc5a commit 5626347
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/libirc/Makefile.am
Expand Up @@ -5,10 +5,11 @@ noinst_LIBRARIES = libirc.a
AM_CPPFLAGS = $(COMMON_CFLAGS) $(CPPFLAGS) -std=c++0x -Wall -Wextra -pedantic $(BOOST_CPPFLAGS) -I$(top_srcdir)

EXTRA_DIST = \
message.hpp \
tcp_connection.hpp
irc_client.hpp \
tcp_connection.hpp \
tcpfwd.hpp

libirc_a_SOURCES = tcp_connection.cpp message.cpp
libirc_a_SOURCES = irc_client.cpp tcp_connection.cpp throttled_connection.cpp
libirc_a_CFLAGS = $(LIBPROXY_CFLAGS) $(CPPFLAGS)
libirc_a_LIBS = $(BOOST_FILESYSTEM_LIBS) $(BOOST_IOSTREAMS_LIBS) $(BOOST_SYSTEM_LIBS) $(BOOST_ASIO_LIBS) $(BOOST_SIGNALS2_LIBS)

Expand Down
6 changes: 3 additions & 3 deletions src/libirc/message.cpp
Expand Up @@ -51,9 +51,9 @@ namespace
using ascii::char_;
command_s %= lexeme[+char_("a-zA-Z")];
command_n %= int_;
params %= space >> lexeme[+(char_ - eol)];
prefix %= lit(':') >> lexeme[+(char_ - space)];
irc_message %= -(prefix) >> -(space) >> (command_n | command_s) >> -(params) >> eol;
params %= space > lexeme[+(char_ - eol)];
prefix %= lit(':') > lexeme[+(char_ - space)];
irc_message %= -(prefix) >> -(space) >> (command_s | command_n) >> -(params) >> eol;
}

/*servername = hostname
Expand Down

0 comments on commit 5626347

Please sign in to comment.