mirror of
https://gitlab.com/rnger/amath
synced 2026-09-11 19:57:25 +00:00
Implemented localized keywords
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user