mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Drop syntax export of N_ and move related bits together
N_ gets defined in the root module, so it's automatically available everywhere. Exporting it generated a a warning in guile 2. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22668 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a158dab67b
commit
174157f3c1
@ -26,9 +26,6 @@
|
|||||||
|
|
||||||
;; c-interface.scm
|
;; c-interface.scm
|
||||||
(export gnc:error->string)
|
(export gnc:error->string)
|
||||||
(export gnc:gettext)
|
|
||||||
(export _)
|
|
||||||
(export-syntax N_)
|
|
||||||
(export gnc:make-string-database)
|
(export gnc:make-string-database)
|
||||||
|
|
||||||
;; options.scm
|
;; options.scm
|
||||||
@ -280,6 +277,12 @@
|
|||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((_ x) x)))
|
((_ x) x)))
|
||||||
|
|
||||||
|
(export gnc:gettext)
|
||||||
|
(export _)
|
||||||
|
|
||||||
|
(if (< (string->number (major-version)) 2)
|
||||||
|
(export-syntax N_))
|
||||||
|
|
||||||
;; A lot of Gnucash's code uses procedural interfaces to load modules.
|
;; A lot of Gnucash's code uses procedural interfaces to load modules.
|
||||||
;; This normally works, for procedures -- but for values that need to be
|
;; This normally works, for procedures -- but for values that need to be
|
||||||
;; known at expand time, like macros, it doesn't work (in Guile 2.0 at
|
;; known at expand time, like macros, it doesn't work (in Guile 2.0 at
|
||||||
|
Loading…
Reference in New Issue
Block a user