Skip to content

Commit

Permalink
Rename data to log_buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
virgil-serbanuta committed Nov 20, 2024
1 parent 6428a44 commit 81535c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ulm-semantics/main/preprocessing/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module ULM-PREPROCESSING-EVENTS
imports private ULM-PREPROCESSING-SYNTAX-PRIVATE
syntax Identifier ::= "bytes_hooks" [token]
| "data" [token]
| "log_buffer" [token]
| "empty" [token]
| "Log0" [token]
| "Log1" [token]
Expand All @@ -35,7 +35,7 @@ module ULM-PREPROCESSING-EVENTS
=> #ulmPreprocessEvent
( Method
, codegenValuesEncoder
( data
( log_buffer
, paramsToEncodeValues
( last(Param, Params)
, .NormalizedFunctionParameterList
Expand Down Expand Up @@ -68,13 +68,13 @@ module ULM-PREPROCESSING-EVENTS
empty => block({
.InnerAttributes
concatNonEmptyStatements
( let data = :: bytes_hooks :: empty ( .CallParamsList );
( let log_buffer = :: bytes_hooks :: empty ( .CallParamsList );
AppendLast
, :: ulm :: LogIdentifier
( ptrValue(null, EventSignature)
, concatCallParamsList
( paramsToArgs(allButLast(Param, Params))
, (data , .CallParamsList)
, (log_buffer , .CallParamsList)
)
);
.NonEmptyStatements
Expand Down

0 comments on commit 81535c2

Please sign in to comment.