Tom Citriniti wrote the VRML Importer long ago and did use lex. If you need to contact him I can put you in touch, he now works at GE Research.<div>W<br><br><div class="gmail_quote">On Thu, Sep 1, 2011 at 6:38 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yeah, the yyinput() function is only present in lex-generated source<br>
files. The VRMLImporter must have been generated by lex a long,<br>
long time ago (more than 10 years ago) -- VTK does not seem to<br>
include the original ".l" file that it must have been generated from.<br>
If it doesn't use the yyinput() function, it should be safe to remove<br>
the whole input()/yyinput() definition from the code.<br>
<font color="#888888"><br>
- David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Thu, Sep 1, 2011 at 4:02 PM, Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br>
> Hi all,<br>
><br>
> clang warns:<br>
><br>
> VTK/Hybrid/vtkVRMLImporter.cxx:5105:12: warning: function 'yyinput' is not needed and will not be emitted<br>
> [-Wunneeded-internal-declaration]<br>
> static int yyinput()<br>
> ^<br>
><br>
> I grepped all of VTK for 'yyinput' and was surprised to find it in 3 files. Their implementations are similar.<br>
><br>
> These files kinda look like they were auto-created by some tool. Anyone know what this yy stuff is, and if I can safely remove parts that are indeed unused?<br>
><br>
> Cheers,<br>
><br>
> --<br>
> ____________________________________________________________<br>
> Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
> Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
> Mac Software Developer Montréal, Québec, Canada<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>