Displaying 4 results from an estimated 4 matches for "quotef".
Did you mean:
quote
2019 Jan 25
0
[klibc:update-dash] parser: Add syntax stack for recursive parsing
...= *stack;
+ (*stack)->prev = next;
+ *stack = next;
+}
+
+static void synstack_pop(struct synstack **stack)
+{
+ *stack = (*stack)->next;
+}
+
/*
@@ -870,24 +897,15 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
size_t len;
struct nodelist *bqlist;
int quotef;
- int dblquote;
- int varnest; /* levels of variables expansion */
- int arinest; /* levels of arithmetic expansion */
- int parenlevel; /* levels of parens in arithmetic */
- int dqvarnest; /* levels of variables expansion within double quotes */
int oldstyle;
- /* syntax before arithmetic */
-...
2020 Mar 28
0
[klibc:update-dash] dash: parser: Add syntax stack for recursive parsing
...= *stack;
+ (*stack)->prev = next;
+ *stack = next;
+}
+
+static void synstack_pop(struct synstack **stack)
+{
+ *stack = (*stack)->next;
+}
+
/*
@@ -870,24 +897,15 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
size_t len;
struct nodelist *bqlist;
int quotef;
- int dblquote;
- int varnest; /* levels of variables expansion */
- int arinest; /* levels of arithmetic expansion */
- int parenlevel; /* levels of parens in arithmetic */
- int dqvarnest; /* levels of variables expansion within double quotes */
int oldstyle;
- /* syntax before arithmetic */
-...
2012 Oct 01
0
[klibc:master] Avoid overflow for very long variable name
...sr/dash/parser.c b/usr/dash/parser.c
index 528d005..6e076a5 100644
--- a/usr/dash/parser.c
+++ b/usr/dash/parser.c
@@ -852,7 +852,7 @@ readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
{
int c = firstc;
char *out;
- int len;
+ size_t len;
struct nodelist *bqlist;
int quotef;
int dblquote;
2006 Jan 08
2
[mips] pipe doesn't work in dash
...KLIBCCC dash/parser.o
dash/parser.c: In function 'readtoken1':
dash/parser.c:1272: warning: 'saveprompt' may be used uninitialized in this function
dash/parser.c:849: warning: 'prevsyntax' may be used uninitialized in this function
dash/parser.c:842: warning: variable 'quotef' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:843: warning: variable 'dblquote' might be clobbered by 'longjmp' or 'vfork'
dash/parser.c:844: warning: variable 'varnest' might be clobbered by 'longjmp' or 'vfork'
dash/p...