if(0)?
Tyler Smith <[email protected]> Sun, 11 Nov 2007 16:22:47 -0400
| Newsgroups | gmane.comp.tex.latex.latex2rtf.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to track down a 'Nesting too deep' error on a file that
works fine for regular LaTeX. I notice that the PushSource function in
parser.c (line 151) contains two if(0){ ... } constructs. Does this
serve any purpose? This code will never be executed under any
circumstances, so could it be removed?
A quick grep reveals the following additional if(0) constructs:
grep -nH -e 'if *( *0 *)' ./*
./definitions.c:427: if (0) {
./definitions.c:434: if (0) {
./definitions.c:444: if (0) {
./definitions.c:453: if (0) {
./graphics.c:1244: if (0) {
./graphics.c:1253: if (0) {
./parser.c:165: if (0) {
./parser.c:227: if (0) {
./parser.c:277: if (0) {
./parser.c:330: if (0) {
./parser.c:491: if (0) {
./parser.c:560: if (0) {
./parser.c:1064: if (0) {
./preparse.c:86: if (0) {
./preparse.c:130: if (0) {
./preparse.c:137: if (0) {
./preparse.c:302: if (0) show_buffer("percent");
Thanks,
Tyler
--
Who is your computer working for?
http://www.defectivebydesign.org/faq
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/