search for: yylex

Displaying 20 results from an estimated 24 matches for "yylex".

Did you mean: mylex
2004 Jul 26
1
Cisco IOS and racoon
...(): @(#)package version freebsd-20040408a 2004-07-26 16:23:15: INFO: main.c:174:main(): @(#)internal version 20001216 sakane@kame.net 2004-07-26 16:23:15: INFO: main.c:175:main(): @(#)This product linked OpenSSL 0.9.7d 17 Mar 2004 (http://www.openssl.org/) 2004-07-26 16:23:15: DEBUG2: cftoken.l:474:yylex(): <3> 2004-07-26 16:23:15: DEBUG2: cftoken.l:179:yylex(): begin <11>padding 2004-07-26 16:23:15: DEBUG2: cftoken.l:183:yylex(): <11> 2004-07-26 16:23:15: DEBUG2: cftoken.l:390:yylex(): <11> 2004-07-26 16:23:15: DEBUG2: cftoken.l:474:yylex(): <11> 2004-07-26 16:23:15:...
2016 Mar 01
1
libvirt_driver_storage.so /usr/lib64/../lib64/libfl.so.2: undefined symbol: yylex
...14.2 beta) and while it compiles just fine, it refuses to run because of an undefined symbol: 2016-03-01 20:09:26.822+0000: 27849: error : virDriverLoadModule:73 : failed to load module /usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so /usr/lib64/../lib64/libfl.so.2: undefined symbol: yylex I'm not really doing anything odd, here is my configure options in my package building script: ./configure \ --prefix=/usr \ --libdir=/usr/lib64 \ --bindir=/usr/sbin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/libvir...
2013 Aug 20
1
xen 4.4 code bug
So i am getting this cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral] libxlu_cfg_y.c: In function ''xlu__cfg_yyparse'': libxlu_cfg_y.c:1292:41: error: ''scanner'' undeclared (first use in this function) yychar = yylex (&yylval, &yylloc, scanner); ^ libxlu_cfg_y.c:1292:41: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [libxlu_cfg_y.o] Error 1 make[3]: Leaving directory `/data/dev/xen/xen-git/src/xen-build/tools/...
2010 Jul 20
3
[LLVMdev] gold and debug information
...download it here (too large to send through the list): http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz The command is: llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit- llvm -g -O4 -o flex ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o filter.o regex.o -lm Then I got: $ llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm -g -O4 -o flex ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables....
2004 Sep 29
1
Tinderbox
We've lost tinderbox (last build 25th), which is presumably why the following wasn't caught: ---------------------------------------------------------------------- /s1/james/projects/xapian/xapian/xapian-core/extra/queryparser.yy: In function `int yylex()': /s1/james/projects/xapian/xapian/xapian-core/extra/queryparser.yy:443: `class std::basic_string<char, std::char_traits<char>, std::allocator<char> >' has no member named `back' /s1/james/projects/xapian/xapian/xapian-core/extra/queryparser.yy:445: `class...
2009 Mar 20
2
Why does the lexical analyzer drop comments ?
...tatic int SkipComment(void) {     int c;     while ((c = xxgetc()) != '\n' && c != R_EOF) ;     if (c == R_EOF) EndOfFile = 2;     return c; } which effectively drops comments. Would it be possible to keep the information somewhere ? The source code says this:  *  The function yylex() scans the input, breaking it into  *  tokens which are then passed to the parser.  The lexical  *  analyser maintains a symbol table (in a very messy fashion). so my question is could we use this symbol table to keep track of, say, COMMENT tokens. Why would I even care about that ? I'm wri...
2010 Jul 20
0
[LLVMdev] gold and debug information
> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" > export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > export RANLIB=/bin/true > export CFLAGS="-O4 -g" > > then configure, make, and then hit the error. > > The error only happens if
2012 May 23
3
[LLVMdev] problem on clang+gold
...at-linux/4.1.2/crtbegin.o -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -L/usr/lib/gcc/i386-redhat-linux/4.1.2/../../.. -L/lib -L/usr/lib -plugin /path/to/my/llvm/../lib/LLVMgold.so -plugin-opt=also-emit-llvm ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o filter.o regex.o -lm -L /s/gcc-4.3.1/lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i386-redhat-linux/4.1.2/crtend.o /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crtn.o and got errors...
2010 Jul 20
4
[LLVMdev] gold and debug information
On 7/20/2010 1:25 AM, Eli Friedman wrote: > On Mon, Jul 19, 2010 at 11:06 PM, Guoliang Jin<jingl1345 at gmail.com> wrote: >> Hi, >> >> I would like to get the whole program bitcode with debug information in it. >> >> I tried to use CFLAGS = "-O4 -g", but it ends with the following error: >> collect2: ld terminated with signal 6 [Aborted]
2012 Sep 11
4
[PATCH] libxl: Tolerate xl config files missing trailing newline
...rminals. */ #define YYNTOKENS 12 /* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 9 +#define YYNNTS 11 /* YYNRULES -- Number of rules. */ -#define YYNRULES 19 +#define YYNRULES 22 /* YYNRULES -- Number of states. */ -#define YYNSTATES 28 +#define YYNSTATES 30 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -430,26 +430,28 @@ static const yytype_uint8 yytranslate[] = YYRHS. */ static const yytype_uint8 yyprhs[] = { - 0, 0, 3, 4, 7, 12, 14, 17, 19, 21, - 23, 28, 30, 32...
2010 Jul 21
0
[LLVMdev] gold and debug information
> All the .o files are in the tarball. You can download it here (too large to > send through the list): > http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz There is also something strange with these files, buf.o is actually a .tar.gz file :-) > > Thanks, > Guoliang > Cheers, -- Rafael Ávila de Espíndola
2010 Jul 21
1
[LLVMdev] gold and debug information
...-L/local.toadette/aliang/packages/llvm-2.7/llvm-gcc/lib/gcc/i686-pc-linux-gnu/4.2.1 -L/local.toadette/aliang/packages/llvm-2.7/llvm-gcc/lib/gcc/i686-pc-linux-gnu/4.2.1/../../.. -plugin-opt=also-emit-llvm ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o filter.o regex.o -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /local.toadette/aliang/packages/llvm-2.7/llvm-gcc/lib/gcc/i686-pc-linux-gnu/4.2.1/crtend.o /usr/lib/crtn.o >> http://pages.cs.wi...
2005 Jan 27
1
klibc/ash doesn't compile
...n-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386 -I../include/bits32 -I../include -I../linux/include -I../linux/include2 -I../linux/include -DSHELL -DJOBS=0 -I. -c -o arith_lex.o arith_lex.c arith_lex.l: In function `yylex': arith_lex.l:66: error: `ARITH_NUM' undeclared (first use in this function) arith_lex.l:66: error: (Each undeclared identifier is reported only once arith_lex.l:66: error: for each function it appears in.) arith_lex.l:69: error: `ARITH_LPAREN' undeclared (first use in this function) ar...
2007 Sep 18
1
[LLVMdev] 2.1 Pre-Release Available (testers needed)
.../include -I/home/emil/ll/llvm-2.1/include -I/home/emil/ll/objdir-llvm/include \ -o build/gengtype-lex.o gengtype-lex.c ../../llvm-gcc4.0-2.1.source/gcc/gengtype-lex.l:31:27: error: gengtype-yacc.h: No such file or directory ../../llvm-gcc4.0-2.1.source/gcc/gengtype-lex.l: In function 'yylex': ../../llvm-gcc4.0-2.1.source/gcc/gengtype-lex.l:220: error: 'yylval' undeclared (first use in this function) [...] gmake[1]: *** [build/gengtype-lex.o] Error 1 gmake[1]: Leaving directory `/home/emil/ll/objdir-gcc/gcc' gmake: *** [all-gcc] Error 2 If I install bison and try again...
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Mon, Sep 17, 2007 at 12:25:40PM -0700, Chris Lattner wrote: > On Mon, 17 Sep 2007, Emil Mikulic wrote: > >> The 2.1 pre-release (version 1) is available for testing: > >> http://llvm.org/prereleases/2.1/version1/ > > > > I suspect the utils/TableGen/FileParser.h.cvs in the tarball may be > > stale. I tried building LLVM without bison installed and got:
2007 Sep 17
3
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Mon, 17 Sep 2007, Emil Mikulic wrote: >> The 2.1 pre-release (version 1) is available for testing: >> http://llvm.org/prereleases/2.1/version1/ > > I suspect the utils/TableGen/FileParser.h.cvs in the tarball may be > stale. I tried building LLVM without bison installed and got: Can you try it again without bison with these files:
2006 May 08
2
have any one tried Snmp extension to Net-SNMP daemon
...;' defined but not used gcc -Wall -Wno-parentheses -c -Iinclude -Itmp -DWITH_SOAPDEFS_H -c -o src/server/lex/y.tab.o src/server/lex/y.tab.c src/server/lex/y.tab.c: In function ''yyparse'': src/server/lex/y.tab.c:1064: warning: implicit declaration of function ''yylex'' gcc -Wall -Wno-parentheses -c -Iinclude -Itmp -DWITH_SOAPDEFS_H -c -o src/soap/soapC.o src/soap/soapC.c src/soap/soapC.c: In function ''soap_in_SOAP_ENV__Fault'': src/soap/soapC.c:1884: warning: passing argument 8 of ''soap_id_forward'' makes in...
2012 Aug 14
12
[TESTDAY] xl cpupool-create segfaults if given invalid configuration
# xl cpupool-create ''name="pool2" sched="credit2"'' command line:2: config parsing error near `sched'': syntax error, unexpected IDENT, expecting NEWLINE or '';'' Failed to parse config file: Invalid argument *** glibc detected *** xl: free(): invalid pointer: 0x0000000001a79a10 *** Segmentation fault (core dumped) Looking at the code
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
...uot;bool_q", "bool_clss", "bool_cls", "boosted_q", "q", "term_q", "wild_q", @@ -1771,7 +1771,7 @@ /* found a word so return it. */ lvalp->str = buf; if (is_wild) return WILD_STR; - return WORD; + return YYWORD; } int yylex(YYSTYPE *lvalp, QParser *qp) --- ../../ferret/ferret/ext/store.h 2006-08-15 15:25:38.143765800 +1000 +++ ext/store.h 2006-08-15 14:54:55.157804300 +1000 @@ -121,8 +121,8 @@ unsigned int is_read_uint(InStream *is); ullong is_read_ulong(InStream *is); ullong is_read_vint(InStream *is); -void is_...
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
...der/index-parse.y b/builder/index-parse.y index a8d2f62..dee2aec 100644 --- a/builder/index-parse.y +++ b/builder/index-parse.y @@ -24,9 +24,14 @@ #include <string.h> #include "index-struct.h" +#include "index-parse.h" -extern void yyerror (const char *); -extern int yylex (void); +#define YY_EXTRA_TYPE struct parse_context * + +extern void yyerror (YYLTYPE * yylloc, yyscan_t scanner, struct parse_context *context, const char *msg); +extern int yylex (YYSTYPE * yylval, YYLTYPE * yylloc, yyscan_t scanner); +extern void scanner_init (yyscan_t *scanner, struct parse_con...