]> diplodocus.org Git - nmh/blobdiff - sbr/icalendar.l
Added warning about when post(1) can't refile(1) a draft.
[nmh] / sbr / icalendar.l
index 016c6ebdfc3ce05a9e514809a765f979e001bbec..dc75dacee1f606e5bbc8145ef4047cbf831b8921 100644 (file)
@@ -1,5 +1,4 @@
-/*
- * icalendar.l -- icalendar (RFC 5545) scanner
+/* icalendar.l -- icalendar (RFC 5545) scanner
  *
  * This code is Copyright (c) 2014, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -258,7 +257,7 @@ folded-value         {VALUE-CHAR}*({fold}{VALUE-CHAR}*)+
 
 . {
     /* By default, flex will just pass unmatched text.  Catch it instead. */
-    advise (NULL, "unexpected input: |%s|\n", icaltext);
+    inform("unexpected input: |%s|\n", icaltext);
 }
 
 <<EOF>> {