aboutsummaryrefslogtreecommitdiff
path: root/pruebas
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-11-25 13:14:35 -0600
committerIván Ávalos <avalos@disroot.org>2022-11-25 13:14:35 -0600
commit52d6d2107f14398ae59baaa893d596fb239c4679 (patch)
tree27f7170933fc0ecd57d7df5814517a7e3a7daad4 /pruebas
parenteb4a3019bc0251e5b2b8229679e3c65d61d55336 (diff)
downloadjavanol-52d6d2107f14398ae59baaa893d596fb239c4679.tar.gz
javanol-52d6d2107f14398ae59baaa893d596fb239c4679.tar.bz2
javanol-52d6d2107f14398ae59baaa893d596fb239c4679.zip
Ya funcionan decl_global y decl_func
Diffstat (limited to 'pruebas')
-rw-r--r--pruebas/sintaxis2.es6
1 files changed, 6 insertions, 0 deletions
diff --git a/pruebas/sintaxis2.es b/pruebas/sintaxis2.es
new file mode 100644
index 0000000..c89bee0
--- /dev/null
+++ b/pruebas/sintaxis2.es
@@ -0,0 +1,6 @@
+entero a = 10;
+entero b = 20;
+booleano c = verdadero;
+caracter d;
+funcion entero a (entero a, cadena b);
+funcion caracter b (booleano a); \ No newline at end of file