|
From: | Karlheinz Toni |
Subject: | Errors trying bison example... :( |
Date: | Wed, 30 Oct 2002 13:00:20 -0800 |
Hi there, I tried to make a simple
bison example work, but I just am not able to. So I wonder if anyone could
send me one simple working example or explain me, why I get these error
messages (file I use is attached… bison test.y test.y:6: unknown character:
`\r' test.y:6: Skipping to next % ' is invalid in %token test.y:8: Skipping to next % test.y:10: invalid input:
`\r' test.y:11: invalid input:
`\r' test.y:12: invalid input:
`\r' test.y:13: invalid input: `;' test.y:13: invalid input:
`\r' test.y:14: invalid input:
`\r' test.y:15: invalid input:
`\r' test.y:16: invalid input:
`\r' test.y:17: invalid input: `;' test.y:17: invalid input:
`\r' test.y:18: invalid input:
`\r' test.y:19: invalid input:
`\r' test.y:20: invalid input:
`\r' test.y:21: invalid input:
`\r' test.y:22: invalid input:
`\r' test.y:23: invalid input:
`\r' test.y:24: invalid input:
`\r' test.y:25: invalid input:
`\r' test.y:26: invalid input:
`\r' test.y:27: invalid input:
`\r' test.y:28: invalid input: `;' test.y:28: invalid input:
`\r' why do I get all these error messages? Could anyone help
me please? As for the version
information: bison -V ************************** bison (GNU Copyright 1984, 1986, 1989,
1992, 2000, 2001, 2002 Free Software Foundation,
Inc. This is free software; see
the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. *************************
Sincerely Karlheinz Toni |
test.y
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |