about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-23T16·37+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-23T16·37+0000
commit49ce8b57ddc459faef8192be04f69b9e777afc75 (patch)
tree5de55fd6b6c463bd7bb71b2b20d5ac69bf9c62e8 /src
parent20675feeab7501bd9ca78a699509b4de89885ec9 (diff)
* Hm.
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/nix.sdf3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexpr/nix.sdf b/src/libexpr/nix.sdf
index e60311e73cc6..8546e758d4aa 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]