Parent Directory | Revision Log
* completely removed the lex scanner and replaced it by pure yacc rules for all terminal symbols (that is command keywords and variables) to avoid misunderstandings while parsing (e.g. recognition of command keywords in string arguments) * src/drivers/audio/AudioChannel.cpp: changed channel parameter 'Name' to 'NAME' as defined in the LSCP documentation
1 | INCLUDES = $(all_includes) |
2 | METASOURCES = AUTO |
3 | |
4 | AM_CXXFLAGS = -ffast-math -march=$(target_cpu) -mcpu=$(target_cpu) |
5 | |
6 | noinst_LTLIBRARIES = liblinuxsamplernetwork.la |
7 | liblinuxsamplernetwork_la_SOURCES = lscp.h lscpparser.cpp lscpparser.h lscpserver.cpp lscpserver.h lscpsymbols.h lscpresultset.cpp lscpresultset.h lscpevent.cpp lscpevent.h |
8 | |
9 | .PHONY: parser |
10 | |
11 | # generate parser with lex and yacc |
12 | parser: |
13 | @echo "Generating LSCP parser..." |
14 | @if which "yacc" > /dev/null; then \ |
15 | yacc -d lscp.y && \ |
16 | yacc lscp.y && \ |
17 | mv -f y.tab.h lscpsymbols.h && \ |
18 | mv -f y.tab.c lscpparser.cpp; \ |
19 | else \ |
20 | echo "You need yacc (or bison) to generate the parser."; \ |
21 | fi; |
ViewVC Help | |
Powered by ViewVC |