Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Hans-Peter Diettrich Newsgroups: comp.compilers Subject: Parsing partial sentences Date: Mon, 3 Apr 2017 09:57:01 +0200 Organization: Compilers Central Lines: 5 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <17-04-001@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="23215"; mail-complaints-to="abuse@iecc.com" Keywords: parse, question Posted-Date: 03 Apr 2017 11:16:16 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1840 Is there an easy way to parse e.g. C #defines into constants, functions or other non-terminals, which are not the goal of the entire grammar? DoDi