mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
3be22536df
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5953 b45a01b8-16f6-495d-af2f-9b41ad6348cc
15 lines
162 B
Plaintext
15 lines
162 B
Plaintext
%{
|
|
#include <unistd.h>
|
|
%}
|
|
|
|
start = "username" { printf("%s", getlogin()); }
|
|
| < . > { putchar(yytext[0]); }
|
|
|
|
%%
|
|
|
|
int main()
|
|
{
|
|
while (yyparse());
|
|
return 0;
|
|
}
|