YACC helps you with one step of the pipeline: creating a parser for a specific grammar. There are lots of other ways to do that step. There are a ton of parser generators available, or you can manually write your own parser. Depending on your requirements, there are many technical reasons to consider YACC to be obsolete, not the least of which is its limited choice of output languages.
However, it is nowhere near obsolete as a pedagogical tool. You'll need to learn the fundamentals of parsers and grammars no matter what parser you use, and you can learn those just as easily using YACC as with anything else. The knowledge translates very easily. I learned YACC in school, but picked up ANTLR with very little effort.
Also consider that it's very likely your bug isn't even in the parser. Usually most parser bugs get ironed out very early in the project, because they have a tendency to produce spectacular failures. The more subtle errors tend to be in the layers downstream of the parser, which have nothing to do with YACC.