Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Bugfix on some functions that take no parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Pes committed Dec 11, 2018
1 parent 4533cdd commit de7091b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gendoxy.el
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
; TODO: generalize nameAttr parameter documentation generation
; typedef void (*ptimer_callback_t)(void* argument);
; the above do not generate param documentation

;;; gendoxy.el --- Generate doxygen documentation from C declarations

;; Copyright (C) 2018 Michele Pes

;; Author: Michele Pes <[email protected]>
;; Created: 07 December 2018
;; Created: 11 December 2018
;; Keywords: gendoxy, docs, doxygen
;; Version: 1.0.6
;; Version: 1.0.7
;; Homepage: https://github.com/mp81ss/gendoxy

;; This file is not part of GNU Emacs.
Expand Down Expand Up @@ -74,6 +70,9 @@

;;; Change log:
;;
;; 1.0.7 (2018-12-11)
;; Bugfix on void functions
;;
;; 1.0.6 (2018-12-07)
;; Improved automatic parameter documentation
;; Improved internal code
Expand Down Expand Up @@ -683,7 +682,8 @@
0
name-index)))
(have-return (gendoxy-have-return-p return-type))
(parameters-token (split-string (cadr blocks) "," t))
(parameters-token ; Add space to avoid parsing error
(split-string (concat " " (cadr blocks)) "," t))
(parameters (gendoxy-get-parameters parameters-token)) )
(if have-return
(progn
Expand Down

0 comments on commit de7091b

Please sign in to comment.