java-parser.org_archive 530 B

123456789101112131415161718192021222324
  1. # -*- mode: org -*-
  2. Archived entries from file /home/swflint/org/test-java.org
  3. * TODO Comments
  4. :PROPERTIES:
  5. :ARCHIVE_TIME: 2014-09-06 Sat 22:16
  6. :ARCHIVE_FILE: ~/org/test-java.org
  7. :ARCHIVE_OLPATH: The Parser/Common Rules
  8. :ARCHIVE_CATEGORY: test-java
  9. :ARCHIVE_TODO: TODO
  10. :END:
  11. foo
  12. #+CAPTION: Comments
  13. #+Name: comments
  14. #+BEGIN_SRC lisp
  15. (defrule comment
  16. (or (and "//" (* (not-doublequote character)) #\Newline)
  17. (and "/*" (* (not-doublequote character)) "*/"))
  18. (:constant nil))
  19. #+END_SRC