emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/bison-mode bd0d1eb 03/29: Making checkdoc happier.


From: ELPA Syncer
Subject: [nongnu] elpa/bison-mode bd0d1eb 03/29: Making checkdoc happier.
Date: Sun, 29 Aug 2021 10:58:40 -0400 (EDT)

branch: elpa/bison-mode
commit bd0d1eb6dc46be665f7870ea65ebf9850826c539
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Wilfred Hughes <me@wilfred.me.uk>

    Making checkdoc happier.
---
 bison-mode.el | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/bison-mode.el b/bison-mode.el
index 51bfaab..85cf88b 100644
--- a/bison-mode.el
+++ b/bison-mode.el
@@ -1,11 +1,10 @@
-; -*- Mode: Emacs-Lisp; -*- 
+;; bison-mode.el --- Major mode for editing bison, yacc and lex files.
 
-;;;; bison-mode.el --- Major mode for editing bison/yacc files
 ;;;; Copyright (C) 1998 Eric Beuscher
 
 ;; Author:   Eric Beuscher <beuscher@eecs.tulane.edu>
 ;; Created:  2 Feb 1998
-;; Version:  .1 (why not start somewhere besides 1.)
+;; Version:  0.2
 ;; Keywords: bison-mode, yacc-mode
 
 ;; This program is free software; you can redistribute it and/or modify
@@ -18,7 +17,7 @@
 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ;; GNU General Public License for more details.
 
-;;;;Commentary
+;;; Commentary
 
 ;;;; I wrote this since I saw one mode for yacc files out there roaming the
 ;;;; world.     I was daunted by the fact the it was written in 1990, and emacs
@@ -35,7 +34,6 @@
 
 ;;;; Eric --- Sat Mar  7 1:40:20 CDT 1998
 
-
 ;;;; Bison Sections:
 ;;;; there are five sections to a bison file (if you include the area above the
 ;;;; C declarations section.     most everything in this file either does
@@ -72,7 +70,6 @@
 
 ;;;; todo:  should make available a way to use C-electricity if in C sexps
 
-
 ;;;;  these are the lines i use to set up correct auto-ing
 ;;(autoload 'bison-mode "bison-mode.el")
 ;;(add-to-set! auto-mode-alist '("\\.y$" . bison-mode))
@@ -80,15 +77,13 @@
 ;;(autoload 'flex-mode "flex-mode")
 ;;(add-to-set! auto-mode-alist '("\\.l$" . flex-mode))
 
-
+;;; Code:
 
 ;; *************** dependencies ***************
-
 (require 'derived)                     ;; define-derived-mode
 (require 'flex-mode)                   ;; for flex-mode derivation
 (require 'make-regexp)                 ;; make-regexp
 
-
 ;; *************** internal vars ***************
 
 (defvar bison--declarers '("%union" "%token" "%type"
@@ -983,7 +978,5 @@ declaration section, then indent to bison-decl-token-column
 ;    (goto-char (point-max))
 ;    (if (re-search-forward "^%%" nil t)
 
-
 (provide 'bison-mode)
-
-;; *************** end of code ***************
+;;; bison-mode.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]