Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 5c17264

Browse files
committed
fix: missing case for nif attributes in preprocessor
1 parent 37336fb commit 5c17264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/syntax_erl/src/preprocessor/directive.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ impl ReadFrom for Directive {
110110
"vsn" => unread_token!(reader, _hyphen.into(), name, Token::Vsn),
111111
"author" => unread_token!(reader, _hyphen.into(), name, Token::Author),
112112
"on_load" => unread_token!(reader, _hyphen.into(), name, Token::OnLoad),
113+
"nifs" => unread_token!(reader, _hyphen.into(), name, Token::Nifs),
113114
"behaviour" => unread_token!(reader, _hyphen.into(), name, Token::Behaviour),
114115
"deprecated" => unread_token!(reader, _hyphen.into(), name, Token::Deprecated),
115116
"type" => unread_token!(reader, _hyphen.into(), name, Token::Type),

0 commit comments

Comments
 (0)