%{ /* * Copyright (c) 1992-93 by Mark Boyns (boyns@sdsu.edu) * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation. This software is provided "as is" without express or * implied warranty. */ #include "y.tab.h" %} white [ \t\n] comment "#"[^\n]*\n string [^ \t\n=] qstring \"[^\"]*\" nstring [^ \t\n] %% {comment} ; {white}+ ; "motd" return Motd; "auto" return Auto; "default" return Default; "setenv" return Setenv; "command" return Command; "=" return Equal; {qstring} return QuotedString; {string}+ return String; {nstring}+ return NString; %%