bug de %type multiligne

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2000-01-13 18:15:10 +00:00
parent 9878da4088
commit 85d1bfc111
1 changed files with 1 additions and 0 deletions

View File

@ -779,6 +779,7 @@ get_tag(void)
while (1) {
c = *++cptr;
if (c == EOF) unexpected_EOF();
if (c == '\n') syntax_error(lineno, line, cptr);
if (c == '>' && cptr[-1] != '-') break;
cachec(c);
}