GithubHelp home page GithubHelp logo

Comments (12)

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:04
Comment from fry, 2007-01-29 15:57

attempt made for 0124 to catch some of these.

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:07
Comment from MrFeinberg, 2010-03-15 13:02

Example?

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:07
Comment from fry, 2010-03-17 13:14

i'd say try an example or two, remove brackets, and see how it responds.
there's a slightly massaged version, but what's thrown up from antlr is
kinda rough for the young'uns.

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:08
Comment from fry, 2010-03-28 10:26

realized you may not have received the updates on this one.

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:09
Comment from MrFeinberg, 2010-03-28 14:37

Will reopen if given complete example program text.

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:09
Comment from fry, 2010-04-12 13:49

void setup()
size(200, 200);
line(20, 20, 80, 80);
}
produces "unexpected token: size"

void setup() {
size(200, 200);
line(20, 20, 80, 80);
}
}
produces: "expecting EOF, found '}'"

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:10
Comment from MrFeinberg, 2010-04-12 14:08

What would a better message look like for those errors? I have to admit, they both look good to
me. How would we know what kind of unexpected token it is?

I guess the expecting EOF one could be caught, but I'm really dubious about the other one!

from processing.

processing-bugs avatar processing-bugs commented on May 22, 2024

From [email protected] on June 06, 2010 22:21:11
Comment from fry, 2010-04-12 14:11

nobody in our audience knows what a token is, nor what EOF is. don't worry
about it though, i think it's something to watch for the time being. given
bug #1539, i'm hesitant to try to be too clever about it unless we can be
100% certain about what's going on.

from processing.

ShreyK avatar ShreyK commented on May 22, 2024

Compiler gives an error:
"Cannot find Class or Type '[name]'" if there is an error with "{" in one of the classes in the program being ran.

It also gives the error:
"Found one too many { characters without a } to match it"
if there is some class in your program that doesnt have enough '{'s but the problem with this is that it highlights the wrong pde class and causes a LOT of confusion.
(Took me two days to figure out!) -> this really needs to be fixed ASAP
eg:
I have a program with my sketch folder containing the files main.pde, game.pde and player.pde
if there is some syntax error "{" in lets say the game.pde, the compiler will point to maybe player or even main to have the syntax issue!

from processing.

Manindra29 avatar Manindra29 commented on May 22, 2024

Accidentally closed while merging pde x codebase. Reopened.

from processing.

shiffman avatar shiffman commented on May 22, 2024

This is resolved in new PDEX error checking. I get Missing opening curly bracket "{" and Syntax error on "}", delete this which are the correct error messages.

from processing.

github-actions avatar github-actions commented on May 22, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from processing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.