Skip to content

Commit

Permalink
Multi traducao de void adicionada e NULL definido como nulo
Browse files Browse the repository at this point in the history
  • Loading branch information
OtacilioN committed Oct 17, 2016
1 parent 6436e2a commit 85b0aef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Brasilino.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
#define falso false

//------------------Tipos de variáveis---------------------
#define nulo void
#define vazio void //Contribuicao de @alessonrenato atraves de issue
#define funcao void
#define procedimento void //Contribuicao de @alessonrenato atraves de issue
#define nulo NULL //Contribuicao de @alessonrenato atraves de issue
#define inteiro int
#define decimal float
#define dobro double
Expand Down
6 changes: 4 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#######################################
# Syntaxe de cores do Brasilino
#######################################
#######################################

#######################################
# Funções especiais (KEYWORD1)
Expand Down Expand Up @@ -64,7 +64,7 @@ contarDe KEYWORD3 RESERVED_WORD
#######################################
# Consantes e tipos (LITERAL1)
#######################################

ENTRADA LITERAL1
SAIDA LITERAL1
ALTO LITERAL1
Expand All @@ -74,7 +74,9 @@ falso LITERAL1
PRESSIONADO LITERAL1
LIBERADO LITERAL1
nulo LITERAL1
vazio LITERAL1
funcao LITERAL1
procedimento LITERAL1
inteiro LITERAL1
decimal LITERAL1
dobro LITERAL1
Expand Down

0 comments on commit 85b0aef

Please sign in to comment.