[comp.lang.c] yacc and lex

chuck@virgil.UUCP (Chuck Cartledge) (01/09/90)

Pardon the cross posting, but I'm not sure where the answer is for this
question.

I would like to use a yacc/lex generated program segment as a operator input
validation routine, rather then having to write my own from the ground up.
What I am trying to generate either automatically via yacc/lex or with only
minor manual mods, is a function that looks like this:

	valid_data (character_string, data_type, addr1, addr2, ...)

Is there a way to get something like this??

Any help would be appreciated.  Thanks.
-- 
Chuck Cartledge (804)498-1012 (voice-play)                 chuck@virgil.UUCP
EDO Corporation (804)424-1004 (voice-work)
Virginia Operations
814 Greenbrier Circle, Chesapeake Va.  23320