473,698 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

YACC-LEX parsing overflow

Hi all!

Firstly, is there a newsgroup for YACC-LEX?

My application dies when I'm parsing a really long string and,
although I increase YYMAXDEPTH value I see no changes.
Anyone can help me with this matter or tell where to ask?

Thanks/Alvaro
Nov 13 '05 #1
1 2015
Alvaro Puente wrote:
Hi all!

Firstly, is there a newsgroup for YACC-LEX?
comp.compilers seems most plausible, but you might find help in
comp.unix.progr ammer as well.
My application dies when I'm parsing a really long string and,
although I increase YYMAXDEPTH value I see no changes.
Anyone can help me with this matter or tell where to ask?


I'd go to comp.compilers. You might try and work out if its the lex
or the yacc part of the code that's dying first - that would help.

--
Chris "electric hedgehog" Dollin
C FAQs at: http://www.faqs.org/faqs/by-newsgrou...mp.lang.c.html
C welcome: http://www.angelfire.com/ms3/bchambl...me_to_clc.html
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6336
by: Profetas | last post by:
Hi. I was wondering how can I access the yacc functions? because when use a normal yacc function such as qstring { yylval.string = strdup(yytext+1); if(yylval.string !='"') warning("Undeterminated Character strig",(char *)0); else
18
1502
by: Profetas | last post by:
Hi I have been trying to add a mid-rule to my yacc grammar but I always get shift and reduce conflicts pel-0.0.3.y contains 12 shift/reduce conflicts and 12 reduce/reduce conflicts. does anobody know other way? I was using yacc and then I tried bison but they are the same, I have done what is in the manual but there they have a very limited mid-rule topic
5
2483
by: lizi | last post by:
Thx.
4
4897
by: Rodrick Brown | last post by:
This might be off topic but can someone give me a quick run down on why tools like lexx/yacc/bison are usefull ? I know what there used for but not sure when they should be used and where ? Thanks. -- Rodrick R. Brown
2
2038
by: SSG | last post by:
Hai All! I am new to lex and yacc.. I compile one yacc program , but it tells errors... 10 Rules never reduced.. how to debug the code.. just i am giving my yacc sample code...
2
1302
by: cmk128 | last post by:
Hi All Here is my .l file, when the input is '1', the token will match mame, but sometime i want it matches "values". how to? chars int + string \"{chars}+\" words {chars}+ values {int}|{string}|{bool}
1
2613
by: Jarek | last post by:
Hello! I'm trying to fix code of esnacc to compile it in gcc4.0. I've fixed almost all c/c++ code, but I've completly no idea about yacc. Can someone help me how to fix the following warnings: core/parse-asn1.y: In function 'yyparse': core/parse-asn1.y:1517: warning: format '%ld' expects type 'long int', but argument 4 has type 'AsnInt' core/parse-asn1.y: In function 'InitAsn1Parser':
3
11814
by: John Sasso | last post by:
In my Yacc .y file I defined: %union { int value; struct Symbol Sym; } The Symbol struct I defined in a header file I #included in the Prologue section of the .y file as:
1
1838
by: c/c++ÐÂÎÅ×é | last post by:
I just compile flex and yacc file then add to VC it said: precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa) How to solve this problem
1
1914
by: neena.usenet | last post by:
I have a gui that reads in a file using C++/yacc. If the file has a parsing error, yacc throws the error to my program and I report it. The problem is at that point, I would like to try to open a different file, one that has no syntax errors. When I try to open this second file, yacc throws me another error which I believe is leftover from parsing the first file. How do I clear the yacc "error stack"?
0
8597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9012
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8855
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7708
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4611
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3034
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1992
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.