Skip to content
Snippets Groups Projects
Commit 26451079 authored by Niels Möller's avatar Niels Möller
Browse files

Added some trailing dnl:s. Added quotes to the first argument to define.

Rev: src/nettle/asm.m4:1.8
parent 59cf8c81
Branches
Tags
No related merge requests found
......@@ -2,27 +2,27 @@ changequote(<,>)dnl
dnl (progn (modify-syntax-entry ?< "(>") (modify-syntax-entry ?> ")<") )
dnl FORTRAN style comment character
define(C, <
dnl>)
define(<C>, <
dnl>)dnl
dnl changecom(!,<
dnl >)dnl
dnl including files from the srcdir
define(<include_src>, <include(srcdir/$1)>)
define(<include_src>, <include(srcdir/$1)>)dnl
dnl Struct defining macros
dnl STRUCTURE(prefix)
define(<STRUCTURE>, <define(<SOFFSET>, 0)define(<SPREFIX>, <$1>)>)
define(<STRUCTURE>, <define(<SOFFSET>, 0)define(<SPREFIX>, <$1>)>)dnl
dnl STRUCT(name, size)
define(STRUCT,
define(<STRUCT>,
<define(SPREFIX<_>$1, SOFFSET)dnl
define(<SOFFSET>, eval(SOFFSET + ($2)))>)
define(<SOFFSET>, eval(SOFFSET + ($2)))>)dnl
dnl UNSIGNED(name)
define(<UNSIGNED>, <STRUCT(<$1>, 4)>)
define(<UNSIGNED>, <STRUCT(<$1>, 4)>)dnl
dnl Offsets in aes_ctx and aes_table
STRUCTURE(AES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment