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
...@@ -2,27 +2,27 @@ changequote(<,>)dnl ...@@ -2,27 +2,27 @@ changequote(<,>)dnl
dnl (progn (modify-syntax-entry ?< "(>") (modify-syntax-entry ?> ")<") ) dnl (progn (modify-syntax-entry ?< "(>") (modify-syntax-entry ?> ")<") )
dnl FORTRAN style comment character dnl FORTRAN style comment character
define(C, < define(<C>, <
dnl>) dnl>)dnl
dnl changecom(!,< dnl changecom(!,<
dnl >)dnl dnl >)dnl
dnl including files from the srcdir dnl including files from the srcdir
define(<include_src>, <include(srcdir/$1)>) define(<include_src>, <include(srcdir/$1)>)dnl
dnl Struct defining macros dnl Struct defining macros
dnl STRUCTURE(prefix) dnl STRUCTURE(prefix)
define(<STRUCTURE>, <define(<SOFFSET>, 0)define(<SPREFIX>, <$1>)>) define(<STRUCTURE>, <define(<SOFFSET>, 0)define(<SPREFIX>, <$1>)>)dnl
dnl STRUCT(name, size) dnl STRUCT(name, size)
define(STRUCT, define(<STRUCT>,
<define(SPREFIX<_>$1, SOFFSET)dnl <define(SPREFIX<_>$1, SOFFSET)dnl
define(<SOFFSET>, eval(SOFFSET + ($2)))>) define(<SOFFSET>, eval(SOFFSET + ($2)))>)dnl
dnl UNSIGNED(name) dnl UNSIGNED(name)
define(<UNSIGNED>, <STRUCT(<$1>, 4)>) define(<UNSIGNED>, <STRUCT(<$1>, 4)>)dnl
dnl Offsets in aes_ctx and aes_table dnl Offsets in aes_ctx and aes_table
STRUCTURE(AES) STRUCTURE(AES)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment