Skip to content

Commit 1acb2b1

Browse files
committed
minor fix: use the current error instead of creating a new one
1 parent 52a63d0 commit 1acb2b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/javacc/CSS3Parser.jj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ void unknownAtRule() :
557557
}
558558
catch (ParseException e)
559559
{
560-
getErrorHandler().error(toCSSParseException("invalidUnknownRule", generateParseException()));
560+
getErrorHandler().error(toCSSParseException("invalidUnknownRule", e));
561561
}
562562
}
563563

0 commit comments

Comments
 (0)