[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison-1.50: how to parse apostrophe?
From: |
Jan Nieuwenhuizen |
Subject: |
bison-1.50: how to parse apostrophe? |
Date: |
Thu, 10 Oct 2002 13:34:55 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
In our grammar file, we have this expression:
sup_quotes:
'\'' {
$$ = 1;
}
| sup_quotes '\'' {
$$ ++;
}
;
but bison-1.50 doesn't like it:
13:27:17 address@hidden:~/lily/lily
$ make
bison -o./out/parser.cc -d parser.yy
parser.yy:1440.2-4: unrecognized escape: `\\\''
parser.yy:1443.15-17: unrecognized escape: `\\\''
The NEWS file doesn't seem to mention anything about this. What is
the recommended backwards compatible solution for this?
Also, the new column-info breaks Emacs' error parsing, which is very
annoying. It would be helpful if the column info would be more
standard (ie, just one column number: parser.yy:1440:2: unrecognized
...), and if this feature would be turned off by default, at least
until Emacs can handle this.
Greetings,
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- bison-1.50: how to parse apostrophe?,
Jan Nieuwenhuizen <=
Re: bison-1.50: how to parse apostrophe?, Akim Demaille, 2002/10/11