//
// Line Processor
//
-void assemble(void)
+void Assemble(void)
{
int state; // Keyword machine state (output)
int j; // Random int, must be fast
if (label != NULL)
warn(lab_ignored);
- exitmac();
+ ExitMacro();
}
goto loop;
if (label != NULL)
{
do_label:
+ // Check for dot in front of label; means this is a local label if present
+#if 0
j = 0;
if (*label == '.')
j = curenv;
+#else
+ j = (*label == '.' ? curenv : 0);
+#endif
sy = lookup(label, LABEL, j);
lab_sym = sy;
if (!j)
- ++curenv;
+ curenv++;
// Make label global
if (labtyp == DCOLON)