diff --git a/src/libexpr/nix.sdf b/src/libexpr/nix.sdf index e60311e73c..8546e758d4 100644 --- a/src/libexpr/nix.sdf +++ b/src/libexpr/nix.sdf @@ -121,9 +121,8 @@ exports Comment -> LAYOUT "#" ~[\n]* -> HashComment "/*" ( ~[\*] | Asterisk )* "*/" -> Comment - [\*] -> Asterisk + [\*] ~[\/] -> Asterisk lexical restrictions - Asterisk -/- [\/] HashComment -/- ~[\n] context-free restrictions LAYOUT? -/- [\ \t\n]