Implemented localized keywords

This commit is contained in:
llsth
2015-04-10 15:41:29 +02:00
parent e9583883ca
commit 5b2676e67e
20 changed files with 443 additions and 277 deletions
+2 -2
View File
@@ -28,10 +28,10 @@
;## Keywords and statement in amath
;###################################################################################
;######### ClearStatement
clear (/8/8)
clear (//)
symclear
;######### FunctionDefinition statement
def (/6/6)
def (//)
symdef
;######### DeleteStatement and keyword
delete (//)
+4 -3
View File
@@ -45,13 +45,14 @@
*
*/
struct keyworddef {
const char *name;
int id;
Symbol symbol;
const char *name;
};
static const keyworddef keywords[] = {
{ "%i", %s },
{ EMPTYSTRING, Symbol(0) }
{ %d, %s, "%i" },
{ -1, Symbol(0), EMPTYSTRING }
};
#endif