libl(3LIB) Interface Libraries libl(3LIB)NAME
libl - lex library
SYNOPSIS
cc [ flag... ] file... [ library... ]
DESCRIPTION
Functions in this library provide user interfaces to the lex(1) library.
INTERFACES
The shared object libl.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object inter-
faces.
allprint allprint_w
main sprint
sprint_w yyless
yyless_e yyless_w
yyracc yyreject
yyreject_e yyreject_w
yywrap
FILES
/usr/lib/libl.so.1 shared object
/usr/lib/64/libl.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO lex(1), intro(3), attributes(5)SunOS 5.10 22 May 2003 libl(3LIB)
Check Out this Related Man Page
libl(3LIB) Interface Libraries libl(3LIB)NAME
libl - lex library
SYNOPSIS
cc [ flag... ] file... [ library... ]
DESCRIPTION
Functions in this library provide user interfaces to the lex(1) library.
INTERFACES
The shared object libl.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object inter-
faces.
allprint allprint_w
main sprint
sprint_w yyless
yyless_e yyless_w
yyracc yyreject
yyreject_e yyreject_w
yywrap
FILES
/usr/lib/libl.so.1 shared object
/usr/lib/64/libl.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO lex(1), Intro(3), attributes(5)SunOS 5.11 22 May 2003 libl(3LIB)
this is my lex file ------------ test.l
%%
printf("%c",yytext+'a'-'A');.ECHO;
how do i compile it
$ lex test.l cc lex.yy.c -o test -ll <------|
|
if this is correct do i add this line--------| @the command line or does it... (0 Replies)
How do i make a library shared
say i have a library a.so which i have just compiled.
I want to make it shared how do i make it
Next Queation is what is the difference between a.so.0 a.so.1 a.so.2 & a.so :rolleyes: (1 Reply)
Hi,
I need to read one chinese char using lex. I tried using "." ( period ) for pattern matching but in vain.
Could anyone suggest me how do i proceeed.
Sample pgm: to read a chinese char in single quotes.
%{
#include <locale.h>
%}
%%
\'.\' printf("SUCCESS\n");
. ... (0 Replies)
While installing amanda server,i got the following error
## checking lex output file root... configure: error: cannot find output from flex; giving up.
when i execute
# which lex
i got /usr/ccs/bin/lex
setting the pathg does not work too
After this i tried intalling flex in my /opt... (0 Replies)
Hi everyone,
I would like to know how to compile and run lex programs on solaris 10.
the conventional way is
$ lex <name.l>
$ cc lex.yy.c -ll
$ ./a.out
but while trying to execute the 2nd command :i get a reference saying that the command is old or that main is not supported...
Hence... (1 Reply)
Hi
While installing Glimpse on Unix, I am getting the following error.
Can someone please help to resolve the same ?
flex -F -8 htuml2txt.lex
make: flex: Command not found
make: *** Error 127
make: Leaving directory `/home/user30/glimpse-4.18.6/dynfilters'
make: *** Error 2
Regards... (1 Reply)
Hi everyone!
This is my very first post, sorry if I'm not posting in the right category.
I'm trying to match a newline "/n" using lex/yacc.
For example,
print(9,'\n',8)
should print
9
8
now do I write a regular expression to match exactly " '\n' "
Thanks! (1 Reply)