Xref: utzoo comp.lang.c:24974 comp.lang.misc:3839 comp.unix.questions:18896 comp.unix.wizards:20076 Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!wuarchive!brutus.cs.uiuc.edu!samsung!xanth!virgil!chuck From: chuck@virgil.UUCP (Chuck Cartledge) Newsgroups: comp.lang.c,comp.lang.misc,comp.unix.questions,comp.unix.wizards Subject: yacc and lex Keywords: yacc,lex,error checking Message-ID: <2127@virgil.UUCP> Date: 8 Jan 90 20:51:49 GMT Organization: EDO Corporation, Chesapeake Va Lines: 19 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