acwj icon indicating copy to clipboard operation
acwj copied to clipboard

Some Makefile issue in 03_Precedence

Open ShadowThree opened this issue 3 years ago • 1 comments

2c711b173bacd17affe7a3f960b234a ec856a4208c66431e49ef9e829f9d8c

ShadowThree avatar Feb 02 '23 08:02 ShadowThree

Hi @ShadowThree! This is just make telling you that it encountered an error. This is expected because when ./parser input03 is executed it encounters an error and returns non-zero, as does ./parser input04 and ./parser input05. Overall, the entire test returns failure, and make is letting you know that. The minus sign in front of the command grouping "-(" is telling it to ignore errors. You see that in the output "...Error 1 (ignored)"

I'm sure Warren removed these from the blog post intentionally to keep the focus on the output of the parser.

Hope this helps.

Jim

the-grue avatar Mar 04 '23 19:03 the-grue