Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
26451079
Commit
26451079
authored
May 14, 2002
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
asm.m4
View file @
26451079
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment