This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"parse stack overflow" on C51

I get this message when compiling my program. It's about 25KB big, and MC have 32KB...
What should I do to compile bigger programs anway, because program is not completed yet, I have to add some more stuff.

Parents
  • I don't use.

    How long is your longest line ?
    How long is your longest expression (in characters) ?

    What is nest in C?

    Blocks in C are delimited by curly braces {}.
    This example contains two blocks, one of them nested in the other:

    if(somecondition)
    {
       do_stuff();
       for(somevariable = 0; somevariable < 16; somevariable++)
       {
          do_more_stuff();
       }
    }
    

    25KB big compiled programme HAVE to be big and complex in C.

    The maximum nesting depth has absolutely nothing to do with how large the program is. It merely depends on how unmaintainable the programmer wants to make his "creation".

Reply
  • I don't use.

    How long is your longest line ?
    How long is your longest expression (in characters) ?

    What is nest in C?

    Blocks in C are delimited by curly braces {}.
    This example contains two blocks, one of them nested in the other:

    if(somecondition)
    {
       do_stuff();
       for(somevariable = 0; somevariable < 16; somevariable++)
       {
          do_more_stuff();
       }
    }
    

    25KB big compiled programme HAVE to be big and complex in C.

    The maximum nesting depth has absolutely nothing to do with how large the program is. It merely depends on how unmaintainable the programmer wants to make his "creation".

Children